Index of every page on this site: llms.txt
All skills
Run it yourself

Install and configure Apify SDK, CLI, and API client authentication. Use when setting up a new Apify project, configuring API tokens, or initializing apify-client / Apify SDK in your codebase. Trigger with "install apify", "setup apify", "apify auth", "configure apify token".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/apify-install-auth

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesauthentication.md

≈505 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Apify Authentication — Deep Reference

Detailed reference for how Apify authentication works, every place a token can be supplied, and the full set of platform environment variables. The SKILL.md covers the common path; drill in here when you need the complete picture.

Auth Token Details

  • Token format: apify_api_ prefix followed by an alphanumeric string.
  • Pass via Authorization: Bearer YOUR_TOKEN header (REST API).
  • Pass via the token constructor option (JS client).
  • The APIFY_TOKEN env var is auto-detected by both apify-client and the apify SDK, so if it is exported you usually do not pass token explicitly.

Where a token can come from (precedence)

  1. Explicit token option passed to new ApifyClient({ token }).
  2. APIFY_TOKEN environment variable (auto-detected).
  3. apify login CLI credentials stored in ~/.apify/auth.json (CLI commands only).

For application code, prefer the environment variable so the same code runs locally and on the Apify platform (where APIFY_TOKEN is injected for you).

Environment Variable Reference

Variable Purpose
APIFY_TOKEN API authentication (primary)
APIFY_PROXY_PASSWORD Proxy access (auto-set on platform)
APIFY_IS_AT_HOME true when running on the Apify platform
APIFY_DEFAULT_DATASET_ID Default dataset for the current run
APIFY_DEFAULT_KEY_VALUE_STORE_ID Default KV store for the current run
APIFY_DEFAULT_REQUEST_QUEUE_ID Default request queue for the current run

The APIFY_DEFAULT_* and APIFY_IS_AT_HOME variables are set automatically by the Apify platform at Actor run time — you do not set them yourself in local development.

Security Notes

  • Never commit APIFY_TOKEN. Add .env to .gitignore.
  • Treat the token like a password: it grants full account access, including billing-relevant Actor runs.
  • If a token leaks, regenerate it in Console > Settings > Integrations — the old value is revoked immediately.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides instructions for setting up the Apify ecosystem, including the JS client, SDK, and CLI. It follows security best practices by recommending environment variables and .env files for credential management, using placeholders for tokens, and referencing official NPM packages. The command usage is restricted to necessary tools (npm, apify, npx).

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 820dfc8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 4 months ago
What it can do
Reads files Edits files Runs commands
version
1.5.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "saas",
  "scraping",
  "automation",
  "apify"
]
All 5 allowed tools
ReadWriteBash(npm:*)Bash(npx:*)Bash(apify:*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/apify-install-auth