Get your API key
1
Sign up
Create an account at platform.decart.ai
2
Create an API Key
Navigate to API Keys and create a new API Key
3
Copy key
Copy your API key
Use your API key
Pass your API key when making requests:Best practices
- Store keys in environment variables
- Rotate keys regularly
- Use different keys for development and production
Realtime client-side authentication
For browser and mobile apps, use client tokens (ek_...) instead of your permanent key (dct_...).
Create a token from your backend: