• Start

Overview

Getting started

The official documentation for SurrealDB a multi-model database for modern applications.

SurrealDB is a multi-model database designed to simplify building modern applications. It combines the capabilities of traditional relational databases, document stores, graph databases, and more into a single, unified platform. Whether you are building real-time applications, working with complex data relationships, or deploying AI-powered workflows, SurrealDB provides the tools you need without requiring multiple database systems.

This documentation covers the full SurrealDB ecosystem, from core database concepts and query language reference to SDK guides, deployment options, and third-party integrations. Use the sections below to navigate to the area most relevant to your needs.

The SurrealDB ecosystem consists of several guides, each designed to address different aspects of database management and application development. Together, they provide a complete platform for storing, querying, managing, and visualising your data.

SurrealDB is built around a rich feature set that supports a wide variety of application requirements. Rather than requiring you to stitch together separate systems for different data models or capabilities, SurrealDB provides them all within a single engine. The following features each have dedicated documentation covering concepts, configuration, and practical usage.

SurrealDB provides official SDKs for a range of programming languages, allowing you to integrate the database into your applications regardless of your technology stack. Each SDK offers methods for connecting to SurrealDB, executing queries, managing authentication, and subscribing to real-time updates. Some SDKs also support embedding SurrealDB directly within your application process, either in-memory or persisted to disk.

Refer to the documentation for your preferred language to get started with installation, configuration, and usage examples.

SurrealDB offers flexible deployment options to suit your infrastructure requirements. You can run the database as a fully managed cloud service, self-host it on your own servers, deploy it within containers, or embed it directly into your application. Each deployment model is documented with step-by-step guides for installation, configuration, and operations.

SurrealDB integrates with a variety of third-party tools and platforms, enabling you to connect the database to your existing workflows and infrastructure. The integrations documentation covers data management tools, AI frameworks, embeddings providers, and more. SurrealDB also provides dedicated support for AI agent architectures, with guides on connecting agents to the database for knowledge retrieval and stateful workflows.

The reference documentation provides comprehensive, detailed specifications for all SurrealDB interfaces. This includes the full SurrealQL query language with syntax definitions for every statement, clause, function, and data type, as well as the command-line interface for managing SurrealDB instances and the HTTP-based REST API for programmatic access.

If you prefer learning through practical examples, the tutorials and demos section provides hands-on guides that walk you through common use cases and application patterns. The labs section offers experimental projects and community-contributed content for exploring SurrealDB in different contexts.

Was this page helpful?