Third-Party Integrations
FastAPI Cloud makes it easy to integrate your applications with external services and databases. Connect to popular platforms to enhance your app’s capabilities.
Serverless Postgres database for your applications.
In-memory data store for caching and real-time features.
Supabase is the Postgres development platform.
How Integrations Work
Section titled “How Integrations Work”FastAPI Cloud integrations use a secure OAuth2 flow with PKCE to connect your accounts. Here’s the general process:
1. Connect Your Account
Section titled “1. Connect Your Account”From the Integrations tab in your team settings:
- Click on the integration you want to connect
- You’ll be redirected to the provider’s authorization page
- Log in and grant FastAPI Cloud access
- You’ll be redirected back to FastAPI Cloud
2. Select a Resource
Section titled “2. Select a Resource”After connecting your account, go to your app’s Storage tab in the app details to attach a resource.
3. Automatic Configuration
Section titled “3. Automatic Configuration”When you connect a resource to an app, FastAPI Cloud automatically:
- Creates a secure environment variable with the connection string (e.g.,
DATABASE_URLorREDIS_URL) - Stores the credential as an encrypted secret
- Optionally triggers a redeployment so the changes take effect immediately
4. Managing Connections
Section titled “4. Managing Connections”You can manage your integrations at any time:
- View connected resources to see which apps are using the integration
- Reconnect: Refresh the OAuth connection if it has expired or needs to be updated
- Remove a connected resource from a specific app, which permanently deletes the connection and all associated environment variables
- Disconnect the integration to revoke OAuth access and remove all connected resources (environment variables are preserved)
Manual Setup
Section titled “Manual Setup”If you need to connect a service that doesn’t have a built-in integration, you can still use environment variables to store credentials manually.