---
title: "Integrations"
description: "Integrations connecting SurrealDB to AI frameworks and embeddings. Also agents and data tools."
canonical_url: "https://surrealdb.com/docs/integrate/integrations"
section: "Integrations"
surrealdb_version: "4.x"
last_modified: "2026-11-18T02:09:16Z"
---

> Full SurrealDB documentation index: https://surrealdb.com/docs/llms.txt

# Integrations

Integrations connecting SurrealDB to AI frameworks and embeddings. Also agents and data tools.

This section collects guides for wiring SurrealDB into the rest of your stack: AI and agent frameworks, embeddings and model providers, data movement (ELT, automation, and similar), and related topics. Each page focuses on a specific tool or pattern so you can find a starting point quickly.

This section assumes a certain level of familiarity with SurrealDB itself. If more general orientation and tutorials are needed first, be sure to start with [What is SurrealDB?](/docs/what-is-surrealdb.md) and the [Querying](/docs/learn/querying.md) section of the docs.

## Backend platforms

- [Encore](/docs/integrate/integrations/backend-platforms/encore.md) - build and verify a complete TypeScript backend for durable AI agent memory using type-safe API, Pub/Sub and cron primitives with SurrealDB vector search and graph relationships

## Agent rules

- [Agent rules](/docs/integrate/integrations/agent-rules.md) - rule files that teach an assistant your project's conventions

## Authentication

- [Better Auth](/docs/integrate/integrations/authentication/better-auth/overview.md) - use SurrealDB as the database behind Better Auth
- [Getting started](/docs/integrate/integrations/authentication/better-auth/getting-started.md) - wire the adapter up and run your first sign-in
- [Plugins](/docs/integrate/integrations/authentication/better-auth/plugins.md) - which Better Auth plugins the adapter supports
- [Transactions & limitations](/docs/integrate/integrations/authentication/better-auth/transactions-and-limitations.md) - what the adapter cannot do yet, and why

## Data management

- [Data management integrations](/docs/integrate/integrations/data-management/overview.md) - the pipeline and testing tools that connect to SurrealDB
- [Airbyte](/docs/integrate/integrations/data-management/airbyte.md) - move data in and out with an Airbyte connector
- [Fivetran](/docs/integrate/integrations/data-management/fivetran.md) - managed pipelines into SurrealDB
- [n8n](/docs/integrate/integrations/data-management/n8n.md) - automate workflows against a database
- [Qyrus](/docs/integrate/integrations/data-management/qyrus.md) - test-data generation

## Embeddings providers

- [Embeddings provider integrations](/docs/integrate/integrations/embeddings-providers/overview.md) - which providers are covered, and what each needs
- [OpenAI](/docs/integrate/integrations/embeddings-providers/openai.md) - embed with OpenAI models
- [Mistral](/docs/integrate/integrations/embeddings-providers/mistral.md) - embed with Mistral models
- [Fastembed](/docs/integrate/integrations/embeddings-providers/fastembed.md) - embed locally, without an API call
- [Python quickstart](/docs/integrate/integrations/embeddings-providers/python-quickstart.md) - end to end from Python
- [Rust quickstart](/docs/integrate/integrations/embeddings-providers/rust-quickstart.md) - end to end from Rust

## Vercel

- [Vercel](/docs/integrate/integrations/vercel.md) - credentials, connection types and schema setup for SurrealDB on Vercel
- [Next.js](/docs/integrate/integrations/vercel/nextjs.md) - query from Server Components, Server Actions and Route Handlers, with live updates in the browser
- [AI SDK](/docs/integrate/integrations/vercel/ai-sdk.md) - vector search and graph tools for models, and chat history in SurrealDB
- [Eve](/docs/integrate/integrations/vercel/eve.md) - tools and a memory provider for eve agents
- [Vercel Sandbox](/docs/integrate/integrations/vercel/vercel-sandbox.md) - run SurrealDB inside a sandbox, or give sandboxed code read-only access
