Overview
To authenticate with Mattermost, you need:- Server URL - The hostname of your Mattermost instance (e.g.
mattermost.example.com). - Personal Access Token - A token that grants API access to your Mattermost account.
Prerequisites
- A Mattermost account with personal access token permissions enabled. Only System Admins can enable personal access tokens, check with your administrator if the option is unavailable.
Instructions
Step 1: Find your Mattermost server URL
Your Mattermost server URL is the hostname visible in your browser when logged in to Mattermost. For example, if your browser shows:mattermost.example.com.
Step 2: Generate a personal access token
- Sign in to your Mattermost account.
- Click your profile picture in the top-left corner, then select Profile.
- Navigate to the Security tab.
- Scroll to the Personal Access Tokens section and click Create Token.

- Enter a description for the token (e.g. “Nango integration”) and click Save.

- Copy the token immediately — Mattermost will not show it again.

Note: If the Personal Access Tokens section is not visible, ask your System Admin to enable personal access tokens under System Console > Integrations > Integration Management, and to grant your account the “Allow this account to generate personal access tokens” permission under System Console > User Management > Users.
Step 3: Enter credentials in the Connect UI
Once you have your server URL and personal access token:- Open the form where you need to authenticate with Mattermost.
- Enter your Server URL and Personal Access Token in their respective fields.
- Submit the form, and you should be successfully authenticated.
