Quickstart Guide
Get up and running with Mattermost in just a few minutes. This guide will help you deploy a Mattermost instance and send your first message.This quickstart is designed for testing and development. For production deployments, see the Installation Guide.
Choose Your Path
Mattermost Cloud
Fastest Option: Managed hosting with zero infrastructure setup
Self-Hosted (Docker)
Developer-Friendly: Run locally or on your own server
Option 1: Mattermost Cloud (Fastest)
Get started in under 2 minutes with our fully managed cloud service.Sign Up
Visit mattermost.com/sign-up and create your account.
- Enter your work email
- Choose your workspace name
- Set your password
Create Your Team
After signing in, you’ll be prompted to:
- Name your first team (e.g., “Engineering”, “Marketing”)
- Invite team members via email (optional)
- Select your team icon and display name
Create Your First Channel
Channels organize conversations by topic:
- Click the + icon next to “Channels” in the sidebar
- Choose Create New Channel
- Enter a channel name (e.g., “general”, “random”, “project-alpha”)
- Select Public or Private
- Click Create Channel
Send Your First Message
You’re ready to communicate!
- Select your newly created channel
- Type a message in the text box at the bottom
- Press Enter to send
- @mention team members with
@username - Format text with markdown
- Add emoji reactions by hovering over messages
- Start a thread by clicking the reply icon
Download Mobile and Desktop Apps (Optional)
Stay connected on all devices:
- iOS: Download from App Store
- Android: Download from Google Play
- Desktop: Windows, macOS, Linux
Option 2: Self-Hosted with Docker
Run Mattermost locally using Docker for development and testing.Prerequisites
- Docker Engine 20.10+ and Docker Compose 2.0+
- At least 2GB of available RAM
- Ports 8065 (Mattermost) and 5432 (PostgreSQL) available
Create Docker Compose Configuration
Create a new directory for your Mattermost installation:Create a
docker-compose.yml file with the following configuration:docker-compose.yml
This configuration is based on the Mattermost server’s production Docker setup. For development, you can find additional compose files in
server/docker-compose.yaml that include services like MinIO (S3-compatible storage), Redis, and Elasticsearch.Start Mattermost
Launch all services with Docker Compose:This command will:
- Download the PostgreSQL 14 and Mattermost images
- Create the database with user
mmuserand databasemattermost - Start Mattermost on port 8065
- Create persistent volumes for data storage
Create Administrator Account
On first launch, you’ll create the System Administrator account:
- Enter your email address
- Choose a username
- Set a strong password (minimum 8 characters)
- Click Create Account
Create Your First Team
After account creation:
- Click Create a new team
- Enter a team name (e.g., “developers”)
- Choose a team URL (e.g.,
localhost:8065/developers) - Click Finish
Create a Channel and Send Messages
You’ll automatically be in the “Town Square” channel (created by default).Create a new channel:Try advanced features:
- Click the + icon next to “Channels”
- Select Create New Channel
- Enter a name (e.g., “general”)
- Add a purpose/description (optional)
- Choose Public or Private
- Click Create Channel
- Code blocks: Use triple backticks for code
- Mentions: Use
@usernameto notify users - Slash commands: Type
/helpto see available commands - File uploads: Drag and drop files into the message box
Managing Your Docker Instance
Stop Mattermost:What’s Next?
Configure Mattermost
System Console → Settings
- Email notifications
- File storage (S3, MinIO)
- Authentication (LDAP, SAML, OAuth)
- Plugins and integrations
Install Plugins
System Console → Plugins → Plugin MarketplacePopular plugins:
- GitHub
- Jira
- Zoom
- GitLab
Production Deployment
Learn about:
- High availability clustering
- SSL/TLS configuration
- Database optimization
- Backup strategies
API & Integrations
Build custom integrations:
- REST API
- WebSocket API
- Webhooks
- Slash commands
Troubleshooting
Mattermost won't start
Mattermost won't start
Check logs:Common issues:
- Port 8065 already in use: Change the port mapping in
docker-compose.yml - Database connection failed: Ensure PostgreSQL is healthy with
docker compose ps - Permission issues: Check volume permissions
Can't connect to http://localhost:8065
Can't connect to http://localhost:8065
- Verify Mattermost is running:
docker compose ps - Check if port 8065 is accessible:
curl http://localhost:8065 - Ensure no firewall is blocking the port
- If using a VM, ensure port forwarding is configured
Forgot admin password
Forgot admin password
Reset using mmctl:
Database connection errors
Database connection errors
The connection string format is:
- Verify credentials match in both containers
- Ensure PostgreSQL is healthy
- Check network connectivity between containers