Generate an API Key
Navigation
- Getting Started with Build a Doc
- Purchase a Subscription
- Use the Customer Portal
- → Generate an API Key (You are here)
- Connect a Data Source
- Create a Template
- Build a Power Automate Flow
You’ll achieve: A working API key ready to use in Power Automate.
Before You Start
You need:
- An active Build a Doc subscription
- Portal access with Admin or Member role
How to Create Your API Key
- Sign in to the Build a Doc portal
- Click API Keys in the left menu
- Click Create New Key
- Enter a descriptive name (e.g.,
Production-Invoice-Flow) - Click Create
Success: Your API key is generated.
How to Copy and Store Your Key Securely
- Copy the entire key immediately
- Store it securely in:
- ✅ Password manager (recommended)
- ✅ Azure Key Vault
- ❌ NOT in plain text files
- ❌ NOT in source code
- ❌ NOT in emails or chat
Success: Your API key is safely stored.
How to Use Your Key in Power Automate
- Open Power Automate
- Add a Build a Doc action
- When prompted for connection:
- Click Create new connection
- Paste your API key
- Name the connection something descriptive
- Click Create
Success: Your flow is authenticated.
How to Name Your Keys
Use clear names that indicate:
- Environment:
Production,Development,Testing - Purpose:
Invoice-Flow,Report-Generator - Team:
Finance-Team,HR-Automation
Examples:
- ✅
Production-Invoice-Flow - ✅
Dev-Testing-Finance-Team - ❌
Key1 - ❌
MyKey
How to Troubleshoot a Non-Working Key
Problem: Flow fails with authentication error
- Verify the key was copied correctly (no extra spaces)
- Check key status in portal (not revoked)
- Verify subscription is active
- Try creating a new key
Problem: Lost your API key
- You cannot retrieve it - keys are never shown again
- Create a new key
- Update your Power Automate connections
- Revoke the lost key in the portal
What You’ve Achieved
You now have:
- A working API key
- Secure storage for your key
- Knowledge of how to use it in Power Automate