Setup Guide
Configure your environment variables to enable all integrations for the Drizzle Marketing AI Agent.
Webhook Configuration
To enable real-time processing of Fireflies meetings, configure the webhook in your Fireflies dashboard:
- Go to Fireflies Webhook Settings
- Add webhook URL:
https://your-domain.vercel.app/api/webhooks/fireflies - Subscribe to event: transcript.completed
- Generate a webhook secret and add it to your environment variables as FIREFLIES_WEBHOOK_SECRET
Database Setup
RequiredYour Neon database is already connected. Run the initial schema script to create the necessary tables.
Script to run:
scripts/001_initial_schema.sqlThis script will create all required tables for meetings, decisions, action items, Jira tasks, and more.
Cron Job Security
RecommendedThe CRON_SECRET is used to secure your automated cron job endpoint. While optional, it's highly recommended to prevent unauthorized access to your agent's scheduled runs.
CRON_SECRETA secure random string that Vercel Cron will use to authenticate with your endpoint.
Generate Secure Secret:
How Vercel Cron Works with the Secret:
- Add CRON_SECRET to your Vercel project environment variables
- Vercel automatically includes this as a Bearer token in cron requests
- Your endpoint verifies the token matches before processing
- This prevents unauthorized users from triggering the agent manually
Note: If you don't set CRON_SECRET, the cron endpoint will still work but won't verify authentication.
After adding to Vercel, the cron job will run daily at 9 AM on weekdays (Monday-Friday) as configured in vercel.json.
fireflies
FIREFLIES_API_KEYRequiredAPI key from Fireflies.ai for accessing meeting transcripts
Get your api keyFIREFLIES_WEBHOOK_SECRETOptionalWebhook secret for verifying Fireflies webhook requests (optional but recommended for security)
Get your textgoogle drive
Easy Refresh Token Setup
Use our built-in authorization flow to easily get your Google refresh token. This tool will guide you through the OAuth process step-by-step.
Get Google Refresh TokenMake sure you've added GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET to your environment variables first.
GOOGLE_DRIVE_REFRESH_TOKENRequiredOAuth 2.0 Refresh Token (generate using OAuth playground)
Get your textjira
JIRA_EMAILRequiredEmail address associated with your Jira account
JIRA_PROJECT_KEYOptionalJira project key where tasks will be created (default: MKTG)
slack
SLACK_SIGNING_SECRETRequiredSigning Secret from Slack App for verifying webhook requests
Get your textSLACK_CHANNEL_IDRequiredChannel ID where the agent will post updates (e.g., C123456789)
Adding Environment Variables
You can add environment variables directly in the v0 UI:
- Click the sidebar icon in the chat
- Navigate to "Vars" section
- Add each environment variable with its corresponding value
- Or add them in your Vercel project settings under Settings → Environment Variables when you deploy
Next Steps
- Run the database schema script
- Configure all required environment variables
- Set up Fireflies webhook
- Test each integration using the test endpoints
- Return to the dashboard to monitor agent activity