Tutorials

This is a collection of step-by-step guides and practical examples to help you get the most out of our platform. Whether you're a beginner or an experienced user, our tutorials are designed to provide you with the knowledge and skills you need to succeed.

Getting Started

Generated Image

Create Reusable Blocks with Many-to-Any Relationships

Learn how to data model for multiple, repeating sections of content.

Generated Image

Fetch Data from Directus in Android with Kotlin

Learn how to integrate Directus in your Android app with Kotlin.

Generated Image

Fetch Data from Directus in iOS with Swift

Learn how to integrate Directus in your iOS app with Swift.

Generated Image

Fetch Data from Directus with Angular

Learn how to integrate Directus in your Angular web application.

Generated Image

Fetch Data from Directus with Astro

Learn how to integrate Directus in your Astro web application.

Generated Image

Fetch Data from Directus with Django

Learn how to integrate Directus in your Django web application.

Generated Image

Fetch Data from Directus with Eleventy 3

Learn how to integrate Directus in your 11ty web application.

Generated Image

Fetch Data from Directus with Flask

Learn how to integrate Directus in your Flask web application.

Generated Image

Fetch Data from Directus with Flutter

Learn how to integrate Directus in your Flutter app with Dart.

Generated Image

Fetch Data from Directus with Laravel

Learn how to integrate Directus in your Laravel web application.

Generated Image

Fetch Data from Directus with Next.js

Learn how to integrate Directus in your Next.js web application.

Generated Image

Fetch Data from Directus with Nuxt

Learn how to integrate Directus in your Nuxt web application.

Generated Image

Fetch Data from Directus with SolidStart

Learn how to integrate Directus in your SolidStart web application.

Generated Image

Fetch Data from Directus with Spring Boot

Learn how to integrate Directus in your Spring Boot web application.

Generated Image

Fetch Data from Directus with SvelteKit

Learn how to integrate Directus in your SvelteKit web application.

Generated Image

Implement Directus Auth with iOS

Learn how to register, login, and protect content in your iOS app.

Generated Image

Implement Multilingual Content with Directus and SvelteKit

Learn how to handle internationalization in your SvelteKit application.

Generated Image

Implementing Live Preview in Astro

Learn how to setup Directus live preview with Astro.

Generated Image

Implementing Live Preview in Next.js

Learn how to setup Directus live preview with Next.js.

Generated Image

Implementing Live Preview in Nuxt

Learn how to setup Directus live preview with Nuxt.

Generated Image

Implementing Live Preview in React

Learn how to setup Directus live preview with React.

Generated Image

Implementing Live Preview in SvelteKit

Learn how to setup Directus live preview with SvelteKit.

Generated Image

Implementing Multilingual Content using Directus and Astro

Learn how to access multilingual Directus content using Astro.

Generated Image

Implementing Multilingual Content using Directus and Next.js

Learn how to access multilingual Directus content using Next.js.

Generated Image

Implementing Multilingual Content using Directus and Nuxt

Learn how to access multilingual Directus content using Nuxt.

Generated Image

Implementing Multilingual Content using Directus and SvelteKit

Learn how to access multilingual Directus content using SvelteKit.

Generated Image

Rendering Dynamic Blocks Using Astro

Learn how to render dynamic blocks using Astro.

Generated Image

Rendering Dynamic Blocks Using Next.js

Learn how to render dynamic blocks using Next.js.

Generated Image

Rendering Dynamic Blocks Using Nuxt

Learn how to render dynamic blocks using Nuxt.

Generated Image

Rendering Dynamic Blocks Using SvelteKit

Learn how to render dynamic blocks using SvelteKit.

Generated Image

Set Up Live Preview with Next.js

Learn how to confgure Live Preview with Next.js' draft mode.

Generated Image

Set Up Live Preview with Nuxt

Learn how to create a Nuxt preview plugin to configure Live Preview.

Generated Image

Using Authentication in Astro

Learn how to setup Directus authentication with Astro.

Generated Image

Using Authentication in Next.js

Learn how to setup Directus authentication with Next.js.

Generated Image

Using Authentication in Nuxt

Learn how to setup Directus authentication with Nuxt.

Generated Image

Using Authentication in React

Learn how to setup Directus authentication with React.

Generated Image

Using Authentication in SvelteKit

Learn how to setup Directus authentication with SvelteKit.

More {{ categoryTitle }} tutorials

See all Getting Started tutorials

Projects

Generated Image

Build a Multi-User Chat with JavaScript and Directus Realtime

Learn how to send and receive data over a realtime connection with JavaScript.

Generated Image

Build a Multi-User Chat with React and Directus Realtime

Learn how to send and receive data over a realtime connection in React applications.

Generated Image

Build a Multi-User Chat with Vue.js and Directus Realtime

Learn how to send and receive data over a realtime connection in a Vue.js application.

Generated Image

Build a Notebook Chrome Extension with Directus Auth

Learn to build and integrate a Chrome Extension with Directus Auth.

Generated Image

Build a Realtime Chat App with Directus and Astro

Learn how to setup Directus realtime with Astro.

Generated Image

Build a Realtime Chat App with Directus and Nuxt

Learn how to setup Directus realtime with Nuxt.

Generated Image

Build a Realtime Chat App with Directus and Next.js

Learn how to setup Directus realtime with Next.js.

Generated Image

Build a Realtime Chat App with Directus and SvelteKit

Learn how to setup Directus realtime with SvelteKit.

Generated Image

Build a Testimonial Widget with SvelteKit and Directus

Learn how to set up a testimonial widget using SvelteKit and Directus.

Generated Image

Build a User Feedback Widget with Vue.js

Learn how we built our docs feedback widget with Directus.

Generated Image

Build a Video Streaming App with SvelteKit and Directus

Learn how to store and retrieve video metadata, and then build a streaming application.

Generated Image

Build an Ecommerce Platform with Next.js, Stripe, and Directus Automate

Learn to integrate Stripe with Directus Automate to build an e-commerce website.

Generated Image

Build an Hotel Booking Platform with Next.js, Stripe, and Directus Automate

Learn to build a hotel booking site with dynamic availability and payments via Stripe.

Generated Image

Build Directus Garden - A Passive Collaborative Event Booth Demo

Learn how we built our engagement platform for live in-person events with P5.js.

Generated Image

Build Forms Dynamically using Directus and Astro

Learn how to setup Directus fields with Astro.

Generated Image

Build Forms Dynamically using Directus and Next.js

Learn how to setup Directus fields with Next.js.

Generated Image

Build Forms Dynamically using Directus and Nuxt

Learn how to setup Directus fields with Nuxt.

Generated Image

Build Forms Dynamically using Directus and SvelteKit

Learn how to setup Directus fields with SvelteKit.

Generated Image

Build the Leap Week Registration and Referral System

Learn how we built our referral-based ticketing and raffle system with AI-generated rabbitars.

Generated Image

Building AIVenture - An AI-Powered Game with Directus

Learn the advanced techniques used with Directus Automate to build a game.

Generated Image

Create a CMS using Directus and Next.js

Learn how to create a CMS using Directus and Next.js.

Generated Image

Create a CMS using Directus and Nuxt

Learn how to create a CMS using Directus and Nuxt.

Generated Image

Create a CMS using Directus and SvelteKit

Learn how to create a CMS using Directus and SvelteKit.

Generated Image

Create Dynamic Pages for a CMS using Directus and Next.js

Learn how to create dynamic pages you can use in your CMS using Directus and Next.js.

Generated Image

Create Dynamic Pages for a CMS using Directus and Nuxt

Learn how to create dynamic pages you can use in your CMS using Directus and Nuxt.

Generated Image

Create Dynamic Pages for a CMS using Directus and SvelteKit

Learn how to create dynamic pages you can use in your CMS using Directus and SvelteKit.

Generated Image

How I Built an AI Open Source Santa Roast App with Directus and Nuxt

Bryant breaks down how he built an AI-powered app that roasts developers based on their GitHub contributions.

Generated Image

Integrate Directus with ESP32 Hardware Sensors

Learn how to integrate Directus with IoT systems by reading and publishing sensor data.

Generated Image

Use Directus as a Baby Health Tracker with Owlet and OpsGenie

Learn how to integrate Directus with hardware sensors and incident repsonse systems.

More {{ categoryTitle }} tutorials

See all Projects tutorials

Tips & Tricks

Generated Image

Advanced Types with the Directus SDK

Learn how to more-easily work with types and the Directus SDK.

Generated Image

Build a Monitoring Pipeline For Flows And Extensions

Learn how to set up complex pipelines to monitor automations and extensions.

Generated Image

Implement Pagination and Infinite Scrolling in Next.js

Learn various techniques to load paginated data in your Next.js application.

Generated Image

Importing Files in Directus Automate

Learn how to use the Request URL operation to import files in Directus Automate.

Generated Image

Preview Files in Live Preview with Google Docs Previews

Learn how to use Google Gview to preview many file formats in Directus Editor.

Generated Image

Search Engine Optimization Best Practices

Learn some best practices for enabling SEO in your projects using Directus.

More {{ categoryTitle }} tutorials

See all Tips & Tricks tutorials

Migration

Generated Image

Migrate from Notion to Directus

Learn how to migrate data from Notion databases to Directus.

Generated Image

Migrate from Nuxt Content to Directus

Learn how to move from a flat-file CMS to Directus.

Generated Image

Migrate from WordPress to Directus

Learn how to migrate posts and images to Directus, with tips on plugins.

Generated Image

Promoting Changes Between Environments in Directus

Learn the options to migrate schema and data between Directus projects.

More {{ categoryTitle }} tutorials

See all Migration tutorials

Extensions

All about extensions

Generated Image

Check Permissions in a Custom Endpoint

Learn how to use internal Directus permissions when creating a custom endpoint.

Generated Image

Create Collection Items in Custom Panels

Learn how to use built-in interfaces and composables to create new collections.

Generated Image

Create New Customers in Stripe in a Custom Hook

Learn how to use the Stripe SDK to create data when actions occur in Directus.

Generated Image

Display External API Data From Vonage In Custom Panels

Learn how to display records from external systems in Directus Insights.

Generated Image

Display External Weather API Data In Custom Panels

Learn how to display external data in panels with a bundle and endpoint.

Generated Image

Format Dates in a Custom Display Extension

Learn how to build a custom display to format data in Directus.

Generated Image

Implement Navigation in Multipage Custom Modules

Learn how to navigate between multiple pages in module extensions.

Generated Image

Integrate Algolia Indexing with Custom Hooks

Learn how to maintain an Algolia index when data is created, updated, and deleted.

Generated Image

Integrate Elasticsearch Indexing with Custom Hooks

Learn how to maintain an Elasticsearch index when data is created, updated, and deleted.

Generated Image

Integrate Meilisearch Indexing with Custom Hooks

Learn how to maintain an Meilisearch index when data is created, updated, and deleted.

Generated Image

Monitor and Error Track with Sentry in Custom Hooks

Learn how to integrate Sentry error tracking in both your API and Data Studio.

Generated Image

Proxy an External API in a Custom Endpoint Extension

Learn how to make external APIs available via Directus in a custom endpoint.

Generated Image

Read Collection Data in Custom Layouts

Learn how to build your first layout with data from a collection.

Generated Image

Send SMS Messages with Twilio in Custom Operations

Learn how to build a custom operation that uses the Twilio SDK.

Generated Image

Send SMS Messages with Twilio in Custom Panels

Learn how to build a form inside a panel extension and use external APIs.

Generated Image

Summarize Relational Items in a Custom Display Extension

Learn how to work with relational data in display extensions.

Generated Image

Understand Available Slots in Custom Modules

Learn about all of the slots available in your custom modules.

Generated Image

Use Dynamic Values in Custom Email Templates

Learn how to inject dynamic data into liquid templates.

Generated Image

Use npm Packages in Custom Operations

Learn how to expose an npm package as an operation in Directus Automate.

Generated Image

Validate Phone Numbers with Twilio in a Custom Hook

Learn how to prevent an item from saving if it has an invalid phone number.

More {{ categoryTitle }} tutorials

See all Extensions tutorials

Self-Hosting

Generated Image

Configure Okta as a Single Sign-On Provider

Learn how to set up Okta SSO with the SAML authentication mechanism.

Generated Image

Deploy Directus to an Ubuntu Server

Learn how to deploy Directus on a Docker container on an Ubuntu server.

Generated Image

Deploy Directus to AWS EC2

Learn how to deploy a Directus to AWS EC2, with a RDS database and a S3 storage bucket.

Generated Image

Deploy Directus to Azure Web Apps

Learn how to deploy Directus on a Docker container on Azure.

Generated Image

Deploy Directus to Digital Ocean

Learn how to deploy Directus on the Digital Ocean App Platform.

Generated Image

Deploy Directus to Google Cloud Platform

Learn how to deploy Directus on GCP with a Cloud SQL database and Cloud Storage Bucket.

More {{ categoryTitle }} tutorials

See all Self-Hosting tutorials

Workflows

Generated Image

Build Content Approval Workflows with Custom Permissions

Learn how to configure roles and permissions for complex automations.

Generated Image

Combine Live Preview and Content Versioning with Next.js

Learn how to set up Live Preview with different content versions in your Next.js application.

Generated Image

Create GitHub Issues with Directus Automate

Learn how to integrate GitHub with Directus Automate to create new issues.

Generated Image

Detect High-Risk Phone Numbers with Vonage and Directus Automate

Learn how to integrate Vonage's Number Insights API with Directus Automate to validate numbers.

Generated Image

Enrich User Data with Clearbit and Directus Automate

Learn how to integrate Clearbit data enrichment with Directus Automate.

Generated Image

Generate Images with DALL•E and Directus Automate

Learn how to integrate OpenAI's Dall•E models with Directus Automate.

Generated Image

Generate Social Posts with GPT-4 and Directus Automate

Learn how to integrate OpenAI's GPT-4 model with Directus Automate.

Generated Image

Generate Transcripts with Deepgram and Directus Automate

Learn how to integrate Deepgram's Speech-to-Text API with Directus Automate.

Generated Image

Integrating Multilingual Content with Directus and Crowdin

Learn how to localize content in Directus using Crowdin's connector with Directus.

Generated Image

Invincible AI content workflows with Inngest and Directus

Learn how to configure integration Directus and Inngest to build durable workflows for any scale.

Generated Image

Schedule Future Content with Directus Automate

Learn how to set content to be scheduled on a future date with Directs Automate.

Generated Image

Tag Images with Clarifai and Directus Automate

Learn how to integrate Clarifai's image recognition APIs with Directus Automate.

Generated Image

Trigger Netlify Site Builds with Directus Automate

Learn how to trigger new Netlify website builds through Directus Automate.

Generated Image

Trigger Vercel Site Builds with Directus Automate

Learn how to trigger new Vercel website builds through Directus Automate.

More {{ categoryTitle }} tutorials

See all Workflows tutorials