Authentication Setup¶
This guide shows you how to configure DeepTagger API credentials in n8n.
Prerequisites¶
You need:
- A DeepTagger account
- A DeepTagger API key (see Getting an API Key)
Getting an API Key¶
Step 1: Log in to DeepTagger¶
Go to deeptagger.com and log in to your account.
Step 2: Navigate to API Settings¶
- Click on your profile/account menu
- Select Settings or API Keys
- You'll see the API key management page
Step 3: Generate an API Key¶
- Click Generate New API Key or Create API Key
- Give your key a descriptive name (e.g., "n8n Production")
- Copy the API key immediately and save it securely
API Key Security
- API keys are shown only once during creation
- Store your key securely (password manager, secrets vault)
- Never commit API keys to version control
- Rotate keys periodically for security
Step 4: Note the Base URL¶
The default API base URL is:
Custom Deployments
If you're using a self-hosted or custom DeepTagger deployment, use your custom base URL instead.
Configuring Credentials in n8n¶
Method 1: In-Node Configuration (Quick Start)¶
When you add a DeepTagger node to your workflow:
- Add the DeepTagger node to your workflow
- Click on the credential dropdown (shows "Please select a credential")
- Click "Create New"
- Enter your credentials:
- Name: Give it a descriptive name (e.g., "DeepTagger Production")
- API Key: Paste your DeepTagger API key
- Base URL: Leave as default (
https://deeptagger.com/api/v1
) or enter your custom URL - Click "Save"
The credential is now available for all DeepTagger nodes in your workflows.
Method 2: Credentials Management (Recommended)¶
For better organization and reusability:
- Open Credentials Panel
- Click Credentials in the left sidebar
-
Or use keyboard shortcut:
Ctrl+K
→ type "credentials" -
Create New Credential
- Click "New Credential" button (top-right)
-
Search for and select "DeepTagger API"
-
Fill in the Details
-
Test the Credential (if available)
- Click "Test" button to verify the connection
-
You should see a success message
-
Save
- Click "Save" to store the credential
Multiple Environments
Create separate credentials for different environments:
- DeepTagger Production
- Live API key
- DeepTagger Staging
- Test API key
- DeepTagger Development
- Dev API key
Method 3: Environment Variables (Advanced)¶
For automated deployments and better security:
-
Set environment variable on your n8n server:
-
Reference in n8n credentials:
- API Key:
{{$env.DEEPTAGGER_API_KEY}}
-
Base URL:
{{$env.DEEPTAGGER_BASE_URL}}
-
Docker/Docker Compose:
-
Kubernetes Secret:
Credential Fields Explained¶
API Key (Required)¶
Your DeepTagger API key for authentication.
- Format:
dtag_
followed by random characters - Example:
dtag_a1b2c3d4e5f6g7h8i9j0
- Where to find: DeepTagger Dashboard → Settings → API Keys
Keep It Secret
Never share your API key publicly or commit it to version control.
Base URL (Optional)¶
The DeepTagger API endpoint.
- Default:
https://deeptagger.com/api/v1
- When to change: Only if using a custom/self-hosted deployment
- Format: Must be a valid HTTPS URL (HTTP allowed for local development)
Using Credentials in Workflows¶
Once configured, using the credential is simple:
- Add a DeepTagger node to your workflow
- Select your credential from the dropdown
- That's it! The node will use the credential automatically
You can reuse the same credential across multiple: - Workflows - DeepTagger nodes - n8n instances (if using shared credential storage)
Managing Multiple Credentials¶
Organizing Credentials¶
Use clear naming conventions:
DeepTagger - Production (Client A)
DeepTagger - Production (Client B)
DeepTagger - Staging
DeepTagger - Development
Switching Credentials¶
To change which credential a node uses:
- Click on the DeepTagger node
- Open the Credential dropdown
- Select a different credential
- The node will now use the new credential
Sharing Credentials¶
In self-hosted n8n:
- Credentials are user-specific by default
- To share across users, use environment variables (Method 3 above)
- Or configure credential sharing in n8n settings (enterprise feature)
Testing Your Credentials¶
To verify your credentials are working:
-
Create a simple test workflow:
-
Configure the DeepTagger node:
- Select your credential
- Choose a valid Project ID
- Input Type: Text
-
Text: "Test document"
-
Execute the workflow:
- Click "Execute Workflow"
- Check the output for successful extraction or error messages
Successful Test¶
Output will contain extracted data (may be empty if no matches):
Failed Test¶
If credentials are wrong, you'll see an error:
Credential Security Best Practices¶
Do's ✅¶
- Store API keys in n8n credential store (encrypted)
- Use environment variables for automated deployments
- Rotate API keys periodically (every 3-6 months)
- Create separate keys for different environments
- Use descriptive names for credentials
- Revoke unused API keys immediately
Don'ts ❌¶
- Don't hardcode API keys in workflow expressions
- Don't share credentials via email or chat
- Don't commit
.env
files with real keys to git - Don't use production keys in development
- Don't screenshot credentials
- Don't share the same key across multiple teams
Revoking a Credential¶
If an API key is compromised:
In DeepTagger Dashboard¶
- Go to Settings → API Keys
- Find the compromised key
- Click Revoke or Delete
- Confirm the action
In n8n¶
- Go to Credentials panel
- Find the credential
- Click Delete
- Update any workflows using that credential
Rotating Keys¶
- Create a new API key in DeepTagger dashboard
- Create a new credential in n8n with the new key
- Update workflows to use the new credential
- Test workflows to ensure they work
- Revoke the old API key in DeepTagger dashboard
- Delete the old credential in n8n
Troubleshooting¶
Error: "No API key found in request"¶
Cause: Credential not configured or not selected in the node.
Solution: 1. Ensure you've created a DeepTagger API credential 2. Select the credential in your DeepTagger node 3. Verify the API key is not empty
Error: "Unauthorized" or "401"¶
Cause: Invalid or expired API key.
Solution: 1. Check the API key in DeepTagger dashboard 2. Regenerate the API key if needed 3. Update the credential in n8n with the new key
Error: "Invalid base URL" or "Network Error"¶
Cause: Incorrect base URL or network connectivity issue.
Solution:
1. Verify the base URL: https://deeptagger.com/api/v1
2. Check for typos (trailing slashes, http vs https)
3. Test network connectivity to the DeepTagger API
4. Check firewall rules if self-hosted
Can't find "DeepTagger API" in credentials list¶
Cause: Node not installed or n8n not restarted.
Solution:
1. Verify the DeepTagger node is installed: npm list n8n-nodes-deeptagger
2. Restart n8n completely
3. Refresh your browser
Next Steps¶
- Operations Reference - Learn what the DeepTagger node can do
- Example Workflows - See authentication in action
- Troubleshooting - More solutions to common issues
Get Help¶
If you're having credential issues:
- Check this troubleshooting section
- Review the API Authentication docs
- Contact support@deeptagger.com with:
- Error message (hide your API key!)
- n8n version
- Steps you've already tried