1. Overview
Connect your Grain workspace to Ana to analyze meeting activity, surface insights from transcripts, and track engagement across your team’s calls. Ana can fetch recording details, search meeting notes, and summarize highlights from past conversations.Store your Grain API key as an API Connector in TextQL, and Ana will be able to query your meeting recordings, transcripts, and highlights.
2. Prerequisites
You’ll need:- A TextQL account with permissions to add API connectors
- A Grain account to generate a Personal Access Token (PAT)
- Or a Grain admin account if you are generating a Workspace Access Token (WAT)
Which token should I use?
| Token Type | Access Scope | Who Can Generate |
|---|---|---|
| PAT (Personal Access Token) | Your own recordings only | Any Grain member |
| WAT (Workspace Access Token) | All recordings across the workspace | Workspace admins only |
If you are setting this up on behalf of your team, use a WAT. A PAT will limit Ana to your personal data only, which may cause incomplete results for shared workflows.
3. Capabilities
Once configured, Ana can:- Fetch recording details (title, date, duration, participants)
- Search and filter meetings by topic, date, or speaker
- Analyze engagement across your team’s calls
- Surface highlights and key moments from transcripts
- Generate reports on meeting activity and conversation trends
4. Setup Instructions
Step 1: Generate Your Grain API Key
Before configuring TextQL, you’ll need an API key from Grain.
- Log in to Grain.
- Click your name at the top-left corner, below your organization name.
- Go to My Account.
- Scroll down to Integrations and click API.
- Under the relevant section, click Generate token:
- Personal access token — for querying your own meetings
- Workspace access token — for querying all workspace meetings (admins only)
- Copy the token value immediately after it is generated.
Step 2: Add Grain as an API Connector in TextQL

- Go to app.textql.com and sign in.
- In the bottom-left sidebar, click Connectors.
- Select the APIs tab.
- Navigate to Add more API connectors and click Grain.
- In the configuration panel, fill in the following fields:
- Name — a label for this connection (e.g.
Grain WorkspaceorGrain - [Your Name]) - Access token — paste the key you copied in Step 1
- Name — a label for this connection (e.g.
- Click Save.
Step 3: Verify the Connection

- In Connectors > APIs, check that Grain appears in your list of active connectors.
- Open a new Ana chat and ask a simple query, such as: “List my most recent Grain recordings.”
5. Usage Examples
Once your Grain connector is live, try asking Ana:- “What were the key takeaways from my last 5 sales calls?”
- “Summarize the highlights from today’s morning meeting.”
- “Which team members have had the most customer calls this month?” (WAT required)
- “Pull the transcript from my sales call with TextQL on June 2.”
6. Troubleshooting
| Symptom | Likely Cause | Fix |
|---|---|---|
401 Unauthorized | Token expired or invalid | Re-authorize and generate a new token in Grain |
404 Not Found | Host configuration issue | Go to Connectors > APIs, click Edit on your Grain connector, then Advanced. Under Hosts, confirm both https://api.grain.com:443 and https://grain.com:443 are listed. |
7. Setup Checklist
Before moving on, confirm you’ve completed each step:- Generated an access token from Grain (PAT or WAT)
- Added Grain as an API connector in TextQL under Connectors > APIs
- Pasted your access token and saved the connector
- Verified the connection by running a test query in Ana