---
title: "Tutorials"
description: "Step-by-step tutorials and walkthroughs for specific tasks with SurrealDB: integrations, real-time apps, AI patterns, and more."
canonical_url: "https://surrealdb.com/docs/learn/tutorials/walkthroughs/overview"
section: "Demos and tutorials"
surrealdb_version: "4.x"
last_modified: "2026-11-19T06:06:22Z"
---

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

# Tutorials

Step-by-step tutorials and walkthroughs for specific tasks with SurrealDB: integrations, real-time apps, AI patterns, and more.

This section holds **tutorials**: practical **walkthroughs** that take you through a task or feature in order, with commands, configuration, and code you can follow along with. They are aimed at learning and production-style setup rather than only skimming a finished app.

If you prefer a **ready-made project** you can clone and run with minimal narrative, see the [demos](/docs/learn/tutorials/demos/overview.md) section instead.

If you are new to SurrealDB, you may also want [Getting started](/docs) and the [SurrealQL](/docs/reference/query-language.md) reference.

## Getting started

- [Define a schema in SurrealDB](/docs/learn/tutorials/walkthroughs/define-a-schema.md) - build up a schemafull table with fields, assertions and indexes
- [Query SurrealDB from Postman](/docs/learn/tutorials/walkthroughs/http-via-postman.md) - drive the HTTP endpoints from a REST client
- [Connect to SurrealDB via ngrok](/docs/learn/tutorials/walkthroughs/connect-via-ngrok.md) - expose a local instance to a remote client
- [Use SurrealDB in GitHub Actions](/docs/learn/tutorials/walkthroughs/github-actions.md) - run a database alongside your CI jobs

## Authentication

- [Integrate Auth0 with SurrealDB](/docs/learn/tutorials/walkthroughs/auth0-integration.md) - verify Auth0 tokens with a record access method
- [Integrate AWS Cognito with SurrealDB](/docs/learn/tutorials/walkthroughs/aws-cognito-integration.md) - the same pattern with a Cognito user pool

## AI and search

- [Build an AI agent with Python](/docs/learn/tutorials/walkthroughs/build-an-ai-agent.md) - an agent that queries the database as a tool
- [Build a GenAI chatbot with Graph RAG](/docs/learn/tutorials/walkthroughs/gen-ai-chatbot.md) - retrieval over a graph rather than a flat vector store
- [Build a knowledge graph for AI](/docs/learn/tutorials/walkthroughs/how-to-build-a-knowledge-graph-for-ai.md) - model entities and relations for retrieval
- [Build a minimal LangChain chatbot](/docs/learn/tutorials/walkthroughs/minimal-langchain.md) - the smallest working LangChain setup
- [Implement semantic search in Rust](/docs/learn/tutorials/walkthroughs/semantic-search-in-rust.md) - embeddings, a vector index, and search from the Rust SDK

## Real-time

- [Build a real-time presence app](/docs/learn/tutorials/walkthroughs/build-a-real-time-presence-app.md) - live queries driving who is online
