Skip to content

Third-Party Integrations

FastAPI Cloud makes it easy to integrate your applications with external services, databases, and observability tools. 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 Integrations 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 or token (e.g., DATABASE_URL, REDIS_URL, or LOGFIRE_TOKEN)
  • 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.