How It Works
The AI Analyst and your Looker Studio dashboards query the same underlying data — they’re just different interfaces.Prerequisites
Before installing the AI Analyst, ensure your SourceMedium data pipeline is set up:1
Connect Your Data Sources
The AI Analyst queries data from your connected platforms. At minimum, you need:
- E-commerce platform (Shopify, Amazon Seller Central)
- Marketing platforms (Google Ads, Meta Ads, etc.)
- Web analytics (GA4)
All Integrations
See the full list of supported integrations.
2
Verify Data Is Flowing
After connecting integrations, SourceMedium ingests and transforms your data into BigQuery. This typically takes 24–72 hours for initial setup.Your SourceMedium team will notify you when your data is ready. You can also check:
- Your Looker Studio dashboard is populated
- Or ask your SourceMedium team for confirmation
3
Confirm BigQuery Access
The AI Analyst queries the
sm_transformed_v2 dataset in your BigQuery project. Your SourceMedium team handles this provisioning — no action needed from you unless you’re self-hosting.BigQuery Essentials
Learn about your BigQuery data warehouse.
If you’re already using SourceMedium dashboards, your data infrastructure is ready — proceed to Slack installation.
Slack Installation
The AI Analyst is delivered as a Slack app called SourceMedium.In Slack, the bot appears as “SourceMedium” (or “SourceMedium (YourCompany)”). Throughout these docs, we refer to it as the “AI Analyst” to distinguish it from other SourceMedium products.
Your Tenant URL
Each SourceMedium customer has a dedicated instance:acme, your URL would be https://acme.sourcemedium.com.
Installing the App
1
Visit your install URL
Go to
https://{your-tenant}.sourcemedium.com/slack/install2
Click 'Add to Slack'
You’ll be redirected to Slack’s authorization page.
3
Review permissions
See what the app can access (details below).
4
Authorize
Click “Allow” to complete installation.
5
Start asking questions
Mention the bot in a channel or send it a direct message.
Permissions Requested
When you install the app, Slack shows the permissions being requested:| Category | What It Enables |
|---|---|
| Read messages | See your questions in channels and DMs where the bot is present |
| Send messages | Reply with results, charts, and SQL queries |
| Upload files | Attach CSV exports, SQL files, and chart images |
| Read user info | Identify who asked the question for context |
| Join channels | Accept channel invitations when you add the bot |
The bot only sees messages in channels where it’s explicitly added or in direct messages sent to it. It cannot read messages in other channels.
After Installation
Once installed:- Invite the bot to a channel: Use
/invite @SourceMediumor add it from channel settings - Or use direct messages: Send a DM to the SourceMedium bot for private queries
- Ask a question: Type your question in natural language
Access Control
Who Can Use It
Anyone in your Slack workspace who can message the bot can query your data. There’s no separate login — Slack authentication is used.What Data Is Accessible
The AI Analyst can query all SourceMedium out-of-the-box tables for your tenant:- Orders and revenue data
- Customer information
- Marketing and ad performance
- Email and SMS metrics
- Web analytics events
- Attribution data
Multi-Store Organizations
If your organization has multiple stores connected to SourceMedium, the AI Analyst can query data across all of them. Currently, queries return combined results across all stores in your tenant.Per-store filtering is on our roadmap. For now, include the store name in your question and the AI will attempt to filter appropriately if the data supports it.
Troubleshooting
Data Issues
“I’m not seeing recent data”- Check Data Health to verify table freshness
- Data typically refreshes daily; check with your SourceMedium team for your refresh schedule
- The AI Analyst only queries SourceMedium out-of-the-box tables
- Custom tables or views you’ve created in BigQuery are not accessible
Installation Issues
“You don’t have permission to install apps” Ask your Slack workspace admin to either:- Install the app for you
- Grant you app installation permissions
- Make sure the bot is invited to the channel you’re messaging in
- Try sending a direct message to the bot instead
- Check that you’re mentioning the bot correctly (
@SourceMedium)
Getting Help
If you run into issues during setup:- Email: [email protected]
- Slack: Message your SourceMedium team in your shared channel

