S
SnapCall · Admin
← Back to App

Connectivity Tests

Verifies env vars, Drive auth, and folder access

Click "Run Tests" to check all connections

Google Drive Setup

One-time configuration to enable automatic report backup

1
Create a Google Cloud project

Go to console.cloud.google.com → New Project. Enable the Google Drive API under APIs & Services.

2
Create a service account

IAM & Admin → Service Accounts → Create. Give it any name. Click the account → Keys → Add Key → JSON → download.

3
Add to Vercel

In your Vercel project → Settings → Environment Variables. Add GOOGLE_SERVICE_ACCOUNT_JSON and paste the entire contents of the downloaded JSON file as the value.

4
Share the target Drive folder

Open the target Google Drive folder. Share it with the service account email (e.g. name@project.iam.gserviceaccount.com) and give it Editor access.

5
Verify

Run the connectivity tests above. You should see all green checks including "Drive Write Test ✓".

Environment Variables

Required in Vercel → Settings → Environment Variables

ANTHROPIC_API_KEYREQUIRED

Your Anthropic API key for Claude analysis.

Get from console.anthropic.com

HIVE_API_KEYREQUIRED

Hive V3 Secret Key for the AI 2.0 (AI-generated / deepfake) image authenticity check, which now runs on every image by default. If unset or failing, scans fall back to the AI 1.0 visual estimate. Content analysis is unaffected.

Get from thehive.ai → Playground API Keys (V3 Secret Key). Authenticated with Bearer.

HIVE_API_URLOPTIONAL

Exact Hive V3 endpoint for AI-generated detection. Set this to the URL shown in your Hive "Try API" if the default endpoint returns 404. Defaults to the standard V3 AI-generated detection URL.

Copy from Hive console → the AI-generated detection model → Try API (the POST URL).

GOOGLE_SERVICE_ACCOUNT_JSONOPTIONAL

Full JSON content of your Google service account key file. Enables Drive backup.

Download from Google Cloud Console → IAM → Service Accounts → Keys

GOOGLE_DRIVE_ROOT_FOLDER_IDOPTIONAL

ID of the Drive folder to save reports under. Defaults to 0ACsbSIej9QgUUk9PVA.

Copy from the URL of the target folder in Google Drive

Drive Folder Structure

[Root Folder] (GOOGLE_DRIVE_ROOT_FOLDER_ID)
└── SnapCall Reports/
    └── {zendesk-subdomain}/
        └── 2026-03-25 14.32.05/
            ├── analysis-subdomain-2026-03-25 14.32.05.csv
            ├── report-subdomain-2026-03-25 14.32.05.html
            └── data-subdomain-2026-03-25 14.32.05.json