Skip to content

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.

FastAPI Cloud integrations use a secure OAuth2 flow with PKCE to connect your accounts. Here’s the general process:

From the Integrations tab in your team settings:

  1. Click on the integration you want to connect
  2. You’ll be redirected to the provider’s authorization page
  3. Log in and grant FastAPI Cloud access
  4. You’ll be redirected back to FastAPI Cloud

After connecting your account, go to your app’s Storage tab in the app details to attach a resource.

When you connect a resource to an app, FastAPI Cloud automatically:

  • Creates a secure environment variable with the connection string (e.g., DATABASE_URL or REDIS_URL)
  • Stores the credential as an encrypted secret
  • Optionally triggers a redeployment so the changes take effect immediately

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)

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.