---
title: "Integrate"
description: "Connecting SurrealDB to your code and tools: integrations with frameworks and services, AI agents, embedding the engine, and migrating from another database."
canonical_url: "https://surrealdb.com/docs/integrate"
surrealdb_version: "4.x"
last_modified: "2026-11-18T02:09:16Z"
---

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

# Integrate

Connecting SurrealDB to your code and tools: integrations with frameworks and services, AI agents, embedding the engine, and migrating from another database.

This section is about the seams between SurrealDB and everything around it. Where [Learn](/docs/learn.md) covers the database itself, these pages cover getting it into a codebase and keeping it there.

## Connect

- [Integrations](/docs/integrate/integrations.md) - Connect frameworks, auth providers, embedding providers and data tooling.

- [AI agents](/docs/integrate/ai-agents.md) - Give an agent a database it can query, and rules that keep it accurate.

- [Embedding SurrealDB](/docs/integrate/embedding.md) - Run the engine inside your application, natively or through WebAssembly.

## Migrate

- [Migrating](/docs/integrate/migrating.md) - Import data and schemas from PostgreSQL, MongoDB and other databases, or upgrade from an older SurrealDB.

## Related sections

Language-specific setup lives with each SDK in [the reference](/docs/reference.md). Running the server, whether managed or on your own hardware, is covered in [Operate](/docs/operate.md).
