This guide walks you through every step from creating your Max AI developer account to making your first API call.Documentation Index
Fetch the complete documentation index at: https://docs.maxcare.ai/llms.txt
Use this file to discover all available pages before exploring further.
Step 1: Get a Developer Account
To access the Max AI API, you need a developer account.- Sign up at app.maxcare.dev to get a developer account.
- Once registered, sign in at app.maxcare.dev (staging).
Step 2: Install the CLI
The Max AI CLI is the fastest way to create and develop apps.For CI or headless environments, you can pass an API key directly:
max-ai auth login --api-key <key> --platform-url https://api.maxcare.devStep 3: Create Your App
Scaffold a new app with a single command:client_id to max-ai.app.toml. See the CLI Reference → Creating an App for full output.
Step 4: Develop Locally
The tunnel requires
cloudflared. Install it first:- macOS:
brew install cloudflared - Linux/Windows: see the CLI Reference
- Starts your Next.js dev server
- Creates a Cloudflare Tunnel to expose your local server via HTTPS
- Registers your app as a draft on the platform
- Auto-installs the app in your organization for testing
Seed Test Data
Coming soon — test data seeding is not yet available.
Step 5: Get Your API Key
Your app receives an API key when installed by an organization. For development, the CLI handles this automatically. For manual API access, generate a key from the Developer Console:- Go to your app’s settings page
- Under API Keys, click Generate New Key
- Select the scopes for this key — effective permissions will never exceed the scopes granted to your app by the clinic
- Copy the key immediately — it is only shown once
Step 6: Make Your First Request
Every API request requires an Organization ID in theX-Organization-Id header. This identifies which clinic’s data you’re accessing.
You can get the Organization ID from:
- The App Bridge — The
@max-ai/app-bridgeSDK provides it automatically when your app is embedded in Max AI. - The API — Call
/v3/marketplace/meto get your app’s identity and connected organization.
Successful Response
Step 7: Deploy (Beta)
App deployment via the CLI is currently in beta.
Next Steps
CLI Reference
Full CLI documentation with all commands and options.
App Development
SDK packages, app lifecycle, and best practices.
Scopes
Understand which scopes grant access to which endpoints.
API Reference
Browse all available endpoints.
