| name | assemblyai-deploy-integration |
| description | Deploy AssemblyAI integrations to Vercel, Cloud Run, and Fly.io platforms.
Use when deploying AssemblyAI-powered transcription services to production,
configuring platform-specific secrets, or setting up webhook endpoints.
Trigger with phrases like "deploy assemblyai", "assemblyai Vercel",
"assemblyai production deploy", "assemblyai Cloud Run", "assemblyai Fly.io".
|
| allowed-tools | Read, Write, Edit, Bash(vercel:*), Bash(fly:*), Bash(gcloud:*) |
| version | 1.5.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","ai","speech-to-text","assemblyai","transcription","deploy"] |
| compatibility | Designed for Claude Code |
AssemblyAI Deploy Integration
Overview
Deploy AssemblyAI-powered transcription services to Vercel (serverless), Google Cloud Run (containers), and Fly.io with proper secrets management and webhook configuration.
Prerequisites
- AssemblyAI API key for production
- Platform CLI installed (
vercel, gcloud, or fly)
- Application with working AssemblyAI integration
Instructions
Vercel Deployment (Serverless)
vercel env add ASSEMBLYAI_API_KEY production
vercel env add ASSEMBLYAI_WEBHOOK_SECRET production
vercel --prod
API Route for Transcription:
import { AssemblyAI } from 'assemblyai';
import { NextRequest, NextResponse } from 'next/server';
const client = new AssemblyAI({
apiKey: process.env.ASSEMBLYAI_API_KEY!,
});
export async function POST(req: NextRequest) {
const { audioUrl, features } = await req.json();
if (!audioUrl) {
return NextResponse.json({ error: 'audioUrl required' }, { : });
}
transcript = client..({
: audioUrl,
: ,
: ,
: process..!,
: features?. ?? ,
: features?. ?? ,
});
.({
: transcript.,
: transcript.,
});
}