| name | apify-deploy-integration |
| description | Deploy Apify Actors and integrate scraping into external applications.
Use when deploying an Actor to the platform, integrating Actor results into a web app (Next.js, Express), wiring webhooks, or scheduling scraping pipelines.
Trigger with "deploy apify actor", "apify Vercel integration", "apify production deploy", "integrate apify results", "apify API endpoint".
|
| allowed-tools | Read, Write, Edit, Bash(apify:*), Bash(npm:*), Bash(vercel:*), Bash(gcloud:*) |
| version | 1.5.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","scraping","automation","apify"] |
| compatibility | Designed for Claude Code |
Apify Deploy Integration
Overview
Deploy Actors to the Apify platform and integrate their results into external
applications. Covers apify push deployment, API-triggered runs from web apps
(synchronous and async patterns), webhook receivers, scheduled scraping pipelines,
and container deployment.
SKILL.md gives you the workflow and the core skeleton. Complete, copy-paste code
for every pattern lives in references/implementation.md;
end-to-end worked scenarios are in references/examples.md.
Prerequisites
- Actor tested locally (
apify run)
apify login completed (stores CLI credentials)
- Target application ready for integration
Authentication
Apps authenticate with an Apify API token. Generate one in Apify Console →
Settings → Integrations and expose it as the APIFY_TOKEN environment variable —
never hard-code it. The apify CLI uses its own credentials from apify login,
separate from APIFY_TOKEN. Full auth notes: references/implementation.md.
Instructions
Step 1: Deploy the Actor to the platform
apify push
apify push username/my-scraper
apify pull username/existing-actor
Step 2: Trigger the Actor from your app
Instantiate ApifyClient with your token, then either call() (blocks until the
run finishes) or start() (returns immediately for polling). Here is the core
synchronous skeleton:
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.().({
: [{ : }],
: ,
});
(run. !== ) (run.);
{ items } = client.(run.).();