The Settings module provides comprehensive configuration for your Directus project. Access to Settings is restricted to admin users who can manage the data model, permissions, workflows, and project configuration.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/directus/directus/llms.txt
Use this file to discover all available pages before exploring further.
Settings Overview
The Settings module is organized into several key areas:Data Model
Define your collections, fields, and relationships.
Roles & Permissions
Control who can access and modify your data.
Flows
Automate tasks with event-driven workflows.
Project Settings
Configure project name, branding, and general settings.
Data Model
The data model section lets you design your database structure through the UI.Collections
Collections are tables in your database. Manage collections to organize your data: Create a collection:Choose collection type
Select:
- From Scratch - Start with an empty collection
- From Template - Use a pre-built collection structure
- Icon - Icon to display in the navigation
- Color - Accent color for the collection
- Singleton - Single item collection (like settings)
- Archive - Enable archiving items instead of deleting
- Sort Field - Field to use for manual sorting
- Display Template - How to display items in relationships
Fields
Fields are columns in your collections. Each field has a type and interface: Add a field:- Open a collection in Data Model
- Click Create Field
- Choose a field type:
- Standard - Text, number, date, boolean, etc.
- Relational - Connect to other collections
- Presentation - Dividers and notes (no data storage)
- Configure field options
- Save the field
- String - Text, email, URL, JSON
- Number - Integer, decimal, float
- Date/Time - Date, time, datetime, timestamp
- Boolean - True/false toggle
- JSON - Structured data
- UUID - Unique identifiers
- Many-to-One (M2O) - Link to a single related item
- One-to-Many (O2M) - Collection of related items
- Many-to-Many (M2M) - Multiple items relate to multiple items
- Many-to-Any (M2A) - Relate to items in different collections
- Translations - Special O2M for multi-language content
Interfaces
Interfaces control how fields appear in forms:- Input - Basic text input
- Dropdown - Select from predefined options
- WYSIWYG - Rich text editor
- Slider - Numeric slider
- Color Picker - Color selection
- File - Upload and select files
- Map - Geographic location picker
- Repeater - Add multiple values
- Translations - Multi-language input
Field Configuration
Each field can be configured with: Schema:- Data type and constraints
- Required/optional
- Default value
- Unique constraint
- Display name
- Note/description
- Hidden in app
- Read-only
- Interface type
- Interface options
- Placeholder text
- Help text
- How the field appears in tables
- Display template
- Conditional display
- Required/optional
- Regular expression validation
- Min/max values
- Custom validation rules
Roles & Permissions
Control access to your data with roles and permissions.Roles
Roles group users with similar access needs: Create a role:- Go to Settings → Roles
- Click + to add a role
- Enter:
- Name - Role identifier
- Description - What this role is for
- Icon - Role icon
- Configure role settings:
- Admin Access - Grant full admin privileges
- App Access - Allow login to the admin app
- Enforce 2FA - Require two-factor authentication
- IP Access - Restrict by IP address
- Administrator - Full access (cannot be edited)
- Public - Unauthenticated users
Permissions
Permissions define what actions a role can perform on each collection: Configure permissions:- Open a role in Settings → Roles
- Click a collection to set permissions
- Set CRUD permissions:
- Create - Add new items
- Read - View items
- Update - Edit items
- Delete - Remove items
- Share - Share items (if enabled)
- All Access - No restrictions
- No Access - Completely blocked
- Use Custom - Conditional access with filters
- Item Permissions - Filter which items are accessible
- Field Permissions - Control field-level access (read-only, hidden)
- Field Validation - Required fields, presets
Policies (RBAC)
Directus supports advanced Role-Based Access Control with Policies:- Policies - Reusable permission sets
- Users - Can have multiple roles and policies
- Fine-grained control - Precise access management
Flows
Flows are automated workflows triggered by events in your project.Creating Flows
Set up a flow:Create a flow
Click + and configure:
- Name - Flow identifier
- Status - Active or inactive
- Trigger - What starts the flow
Triggers
Flows can start from:- Event Hook - When items are created, updated, or deleted
- Webhook - From external HTTP requests
- Manual - Triggered manually
- Schedule - Run on a cron schedule
- Operation - Called from another flow
Operations
Operations are the actions in your flow:- Condition - If/then logic branching
- Send Email - Email notifications
- Send Notification - In-app notifications
- Create/Update/Delete Items - Modify data
- Run Script - Execute custom JavaScript
- Request URL - Make HTTP requests
- Log to Console - Debug logging
- Sleep - Add delays
- Transform - Modify data
Project Settings
Configure general project settings:General
- Project Name - Display name for your project
- Project URL - Public URL of your project
- Project Color - Brand color
- Project Logo - Custom logo
- Default Language - Interface language
- Default Theme - Light, dark, or auto
Security
- Auth Providers - Enable SSO and OAuth
- Auth Password Policy - Password requirements
- Auth Token TTL - Token expiration time
- Rate Limiting - API rate limits
Files & Storage
- Storage Adapters - Configure S3, Azure, GCS, etc.
- File Naming - UUID or original filenames
- Image Transformations - Enable dynamic image processing
- Storage Locations - Multiple storage providers
- Email Transport - SMTP or other email services
- From Email - Default sender address
- Email Templates - Customize notification emails
Extensions
View and manage installed extensions:- Interfaces - Custom field interfaces
- Displays - Custom field displays
- Layouts - Custom collection layouts
- Modules - Custom modules
- Panels - Custom dashboard panels
- Operations - Custom flow operations
- Bundles - Extension packages
Marketplace
Browse and install extensions from the Directus Marketplace:- Go to Settings → Marketplace
- Browse available extensions
- Click an extension to view details
- Install directly from the marketplace
Marketplace requires a connection to the Directus extension registry and appropriate server permissions.
Presets
Manage saved view presets:- Collection Presets - Saved layouts, filters, and bookmarks
- User Presets - Personal view preferences
- Role Presets - Default views for roles
Translations
Manage custom interface translations:- Add translations for custom fields and collections
- Override default translations
- Support additional languages
System Logs
View system activity and errors:- Activity Logs - User actions and changes
- System Events - Background tasks and processes
- Errors - System errors and warnings
Best Practices
Plan your data model
Plan your data model
Design your collections and relationships before building:
- Sketch out your data structure
- Identify relationships between collections
- Consider future growth and scalability
Use descriptive names
Use descriptive names
Make your data model self-documenting:
- Use clear collection names
- Add notes to fields and collections
- Choose intuitive field names
Apply least privilege
Apply least privilege
Give users only the permissions they need:
- Start with minimal permissions
- Add permissions as needed
- Regularly audit role permissions
Test before production
Test before production
Verify changes in a safe environment:
- Test permission changes with test users
- Verify flows work as expected
- Check data model changes don’t break existing data
Next Steps
Content Module
Start working with your configured data model.
Dashboard Overview
Return to the dashboard overview.