External API integrations
Cadrant can connect to any external API: payments, email, CRM, AI, Slack, business tools, and more. There is no closed list of integrations. Just describe what you want in the chat.
Cadrant generates the server-side logic you need (usually via an Edge Function) and guides you through wiring the service: create an account with the provider, get a token or API key, then save it in your project.
How it works
- Ask for the integration in chat, for example: "Connect Stripe for subscriptions" or "Send an email via Resend on every signup".
- Cadrant generates the API call code and configures secret references on the server.
- Create an account with the external service and get your token or API key.
- Add that secret as an environment variable in the Cadrant project dashboard.
- Test the flow: the app calls server logic, which uses the token without ever exposing it in the browser.
Saving a token (environment variables)
Tokens and API keys are stored in the project's Environment panel. They are available to server code only, never in the frontend.
- Open your project, then the Database panel.
- Open the Environment tab.
- Add a variable as KEY = value, for example STRIPE_SECRET_KEY = sk_live_....
- Save. The key is immediately available to your Edge Functions.
Details about the Environment panel are in Environment variables.
Example integrations
- Payments: Stripe, PayPal.
- Transactional email: Resend, SendGrid.
- AI: OpenAI, Anthropic.
- Notifications and CRM: Slack, webhooks, internal tools.
- Any REST API or service that uses a secret key.
For server-side details, see also Edge Functions.
Never paste a token or API key in the chat. Add secrets only via the project's Environment panel. Cadrant will never ask you to paste a secret in a prompt.