Examples
Authentication workflow
# Interactive browser-based login using OAuth 2.0 + PKCE
carto auth login
# This will:
# 1. Display an authorization URL
# 2. Open your browser (you may need to copy/paste the URL)
# 3. Wait for you to complete the login process
# 4. Capture your access token and user information
# 5. Store credentials in ~/.carto_credentials.json
# 6. Configure the API URL based on your tenant
# Check authentication status
carto auth status
# Show current user information
carto auth whoami
# Returns: user_id, name, email, account info, roles
# Switch between profiles
carto auth use production
carto auth use stagingManaging application credentials
Browsing and managing resources
Creating a Builder map from JSON
Round-trip: edit an existing map
Screenshot a map
Creating a Workflow from a bundle
Browse the component catalog
Run + publish as an MCP tool
Copying maps and workflows between organizations
Smart connection mapping
Troubleshooting
Organization statistics
User management
Activity data analysis
Chatting with a map's AI agent
Last updated
Was this helpful?
