Import from Apify
Connect an existing Bytewells account with Apify OAuth, or import Actors with the CLI using an Apify token.
Bytewells can pull Actors you already publish on Apify — source, README, input schema, and run defaults — then build them and create draft Store listings. You set monthly rent and publish from the console or CLI.
There are two paths:
| Path | Auth | Best for |
|---|---|---|
| Console | Connect with Apify (OAuth + PKCE) | Interactive import without pasting a token |
| CLI | APIFY_TOKEN or --apify-token | Automation, CI, private git sources |
Both only read from Apify. They do not change your Apify Actors.
Console: Connect Apify (existing account)
If you already use email/password on Bytewells:
- Open Settings → Integrations · Apify, or Actors → New Actor.
- Click Connect Apify and complete consent.
- The console shows Connected as @your-apify-username.
Then on Actors → New Actor:
- Select one or more Actors from the list.
- Click Import selected.
- Each import uploads source, runs a hosted build, and creates a DRAFT listing under your Bytewells username.
Disconnect anytime from Settings (or revoke the app in Apify Console → Settings → Integrations). Stored OAuth tokens are encrypted at rest.
Prefer the CLI for Actors whose source is a private Git repo Apify cannot serve over HTTPS.
CLI
export APIFY_TOKEN=<your Apify API token>
bw login --url https://bytewells.com/api
bw import apify jane/google-maps-scraper
bw import apify --all --dry-runFull flags: CLI · import apify.
API (connected account)
Requires a Bytewells session JWT (or API key) and a connected Apify OAuth link (configured + connected from GET /v2/me/apify).
| Method | Endpoint | Description |
|---|---|---|
GET | /v2/auth/apify/start?intent=connect | Begin OAuth for the signed-in user (redirect, or format=json + Bearer) |
GET | /v2/auth/apify/callback | Apify redirect target (stores the connection) |
GET | /v2/me/apify | Connection status |
DELETE | /v2/me/apify | Disconnect |
GET | /v2/me/apify/actors | List Actors on the connected Apify account |
POST | /v2/me/apify/import | Body { "actorIds": ["…"], "update"?: bool } |
OAuth start without credentials returns 503 with apify-oauth-not-configured when the deployment has no Apify OAuth client.
After import
Listings start as DRAFT. Set price, trial, and (when passes launch) optional pass tiers, complete Stripe Connect if paid, then publish — see Publish an Actor.