Overview
Torii integrates with Metabase and syncs:
- Users (with status and role)
- Licenses
Requirements
To connect this integration, we require the following:
Accounts & Permissions
- A Metabase account with administrator access
- Access to the Metabase admin console to create API keys
Required keys
- Metabase Instance URL: Your Metabase instance URL (e.g.,
https://your-instance.metabase.comorhttps://yourcompany.metabaseapp.comfor Metabase Cloud) - API Key: A Metabase API key with administrator permissions
How to Generate the Required Values
Step 1: Find your Metabase Instance URL
- Log in to your Metabase instance
- Check the URL in your browser's address bar
- For Metabase Cloud: typically
https://yourcompany.metabaseapp.com - For self-hosted: your custom domain or server URL
- For Metabase Cloud: typically
- Alternatively, go to Admin → Settings → General and check the Site URL field
- Copy the full URL (including
https://)
Step 2: Generate an API Key
- Log in to Metabase as an administrator
- Click the gear icon in the upper right corner → Admin settings
- Go to the Settings tab
- In the left menu, select Authentication
- Scroll to the API Keys section and click Manage
- Click Create API Key
- Enter a Key name (e.g., "Torii Integration")
- Select a Group: Choose Administrators group for full access (required to read user data)
- Click Create
Important
The API key will be displayed only once. Copy and save it immediately. If you lose it, you'll need to regenerate it.
How to Connect the Integration
- Go to the Integrations page in Torii
- Search for Metabase and click Connect
- Enter the following values:
- Metabase Instance URL: Your Metabase instance URL (e.g.,
https://your-instance.metabase.com) - API Key: The API key you generated
- Metabase Instance URL: Your Metabase instance URL (e.g.,
- Click Connect
Important Notes
- API Key Security: The API key is shown only once when created. Save it securely. If lost, regenerate it in Metabase admin settings.
- Permissions: The API key must be assigned to the Administrators group to access user data. Keys assigned to other groups may have limited permissions.
Q&A
Q: What happens if I provide an API key that doesn't have administrator permissions?
A: The integration will fail to sync user data. You'll receive an error message indicating insufficient permissions. Ensure the API key is assigned to the Administrators group in Metabase.
For any further questions, please contact Torii Support.