AI Integrations Overview
Reflex apps connect to AI models, databases, and external tools through packaged integrations, Python libraries, and APIs. AI integrations include OpenAI, Anthropic, and Google Gemini; orchestration libraries such as LangChain work as ordinary Python libraries. API integrations let your app work with operational systems such as Snowflake, Supabase, Salesforce, AWS, and GitHub using the appropriate connector or client.
In Reflex Build, use the integrations workflow to configure supported services. Where there is no packaged integration, use a Python SDK or REST API. MCP servers can give the Builder agent access to tools and context; an app's runtime connection still needs the appropriate client, credentials, and network access.
Key takeaways
- Choose integrations by category: AI models, databases, communication tools, and authentication providers.
- Connect multiple AI providers from Python, adapting each provider's SDK and response format.
- Use the database ORM for relational models and sessions, or a service-specific client for other data sources.
- Keep credentials in integrations or Secrets, rather than frontend code or prompts.
- The catalog is a starting point. Python libraries and REST APIs support custom connections to existing business systems.
AI providers and orchestration
LangChain is an orchestration library, not a model provider. Provider credentials, supported features, and response formats differ. For a working UI and streaming pattern, start with the Python chatbot tutorial.
Integration categories
- Databases: MySQL, PostgreSQL, SQL Server, and SQLite through SQLAlchemy-compatible connections; use service clients for warehouses and other data systems.
- AI: OpenAI, Anthropic, Gemini, Groq, and other model providers for assistants and AI-powered business workflows.
- Communication and business tools: Twilio, Resend, Stripe, and HubSpot for messaging, email, payments, and CRM data.
- Authentication: Google, Okta, Microsoft Entra ID, Auth0, Clerk, Keycloak, or any other OpenID Connect provider for sign-in and single sign-on.
Browse integrations
Database
Connect Reflex Build apps to PostgreSQL, MySQL, MSSQL, or SQLite databases.
Cartesia
Add Cartesia’s powerful text-to-speech capabilities for realistic, real-time voice output and audio experiences.
Resend
Send transactional and automated emails directly from your AI-generated applications using Resend.
Custom OIDC
Add sign-in with any OpenID Connect identity provider to your Reflex Build apps.
Cohere
Add Cohere’s language models for text generation, classification, retrieval, embeddings, and more.
Twilio
Connect your apps to Twilio to send SMS, WhatsApp messages, and voice calls programmatically.
Keycloak
Add Keycloak sign-in to your Reflex Build apps with OpenID Connect.
Gemini
Connect your apps to Google’s Gemini models for advanced AI capabilities.
Anthropic
Connect your apps to Anthropic's Claude models for advanced AI capabilities.
HubSpot
Connect your apps to HubSpot to manage contacts, companies, deals, and marketing workflows.
Notion
Connect your apps to Notion to create, update, and query pages, databases, and documents.
GitHub
Connect your app to GitHub to automate workflows, manage repositories, and integrate developer operations.
Clerk
Add Clerk sign-in to your Reflex Build apps, using Clerk as an OpenID Connect provider.
Azure Auth
Integrate Azure for secure authentication and access management within your application.
Databricks
Connect with Databricks to run data pipelines and advanced analytics seamlessly.
Perplexity
Connect your apps to Perplexity to power real-time, retrieval-augmented AI experiences.
Okta
Add Okta sign-in and enterprise single sign-on to your Reflex Build apps with OpenID Connect.
Descope
Add Descope’s identity and authentication platform to your apps to manage user sign-in, onboarding, MFA, SSO, and flows with ease.
Stripe
Connect your apps to Stripe to accept payments, manage subscriptions, and handle billing securely.
Auth0
Add Auth0 sign-in to your Reflex Build apps with OpenID Connect.
Roboflow
Connect your apps to Roboflow to use computer vision models and datasets for image detection, classification, and segmentation.
Replicate
Connect your apps to Replicate to run and deploy open-source machine learning models with ease.
Groq
Connect your apps to Groq’s ultra-fast inference API for lightning-speed AI responses.
Google Auth
Enable secure authentication using Google sign-in and OAuth 2.0 workflows.
Okta Auth
Use Okta for secure identity and access management via Single Sign-On provisioning.
Linear
Connect your apps to Linear to manage issues, projects, and sprints directly from workflows.
Add Google account sign-in to your Reflex Build apps with OpenID Connect.
Hugging Face
Connect your apps to Hugging Face to access thousands of open models for text, vision, and multimodal tasks.
OpenAI
Connect to OpenAI's powerful language models for text generation, analysis, and more.
Microsoft Entra ID
Add Microsoft Entra ID (Azure AD) sign-in to your Reflex Build apps with OpenID Connect.
AWS
Connect to Amazon Web Services (AWS) for cloud storage, databases, compute, AI/ML, and more.
Supabase
Connect your apps to Supabase to use a hosted Postgres database with real-time capabilities and powerful APIs.
Missing an integration?
Click here to tell us what you need.
FAQ
Which external tools and APIs can Reflex integrate with?
Reflex apps can connect to AI models such as OpenAI, Anthropic, and Gemini; relational databases such as MySQL, PostgreSQL, SQL Server, and SQLite; and operational systems such as Snowflake, Supabase, Salesforce, AWS, and GitHub. Use a supported integration or the relevant Python client or REST API, with credentials and permissions for each service.
Can a Reflex app combine Snowflake data with other operational workflows?
Yes. Query Snowflake with its Python client or a configured integration, combine the results with data from another database or internal API, and assign the data needed by the UI to Reflex state. Configure access and credentials for each system.
What if the tool I need is not in the integrations catalog?
Use a Python SDK or REST API from the app backend, or create a custom integration in Reflex Build. An MCP server can provide tools and context to the Builder agent; this is separate from implementing the deployed app’s runtime connection.