Apify
Run Apify Actors and read their datasets to scrape and crawl the web from agent sessions.
Connect it with: API key. Apify's own documentation: https://docs.apify.com/platform/integrations/api.
What agents can do
Connect Apify so the agents working your tasks can reach it. With it connected, they can:
- Run any public or private Actor from Apify Store (web scrapers, crawlers, browser automations) with the input the task needs.
- Read the results an Actor run stored in its dataset or key-value store.
- Check the status and log of a run, and abort a run that went wrong.
- Schedule or re-run your saved Actor tasks.
Before you start
- An Apify account (the free plan includes monthly platform credit).
- The Actors your agents should run, either your own or ones from Apify Store.
- A Jaah account. Anyone can add a personal secret; an organization secret needs an Org Owner or Admin.
Connect with Apify
Jaah connects to Apify with an API key, not with a sign-in button.
Connect with an API key
Find each value first:
- API token: In Apify Console open Settings > API & Integrations (console.apify.com/settings/integrations) and copy the Default API token, or select Create a new token. Leave Limit token permissions off unless you grant it the Actors your agents should run.
Then add it to Jaah:
- In Jaah, open Secrets, select New, and pick the Apify card.
- Name the secret and choose who can use it.
- Fill in API token.
- Select Save. Jaah tests the secret straight away (see Test the connection).
Jaah encrypts what you type and never shows it again — not to you, and not to an admin.
Use your own OAuth app
Not used: Jaah connects to Apify with an API key, not through an OAuth app.
Test the connection
Select Test on the secret. Jaah makes one read-only call to Apify with the stored values and shows the result on the secret's page. Jaah also tests automatically when you save or reconnect.
Who can use it
Every secret has an owner, and the owner decides who can use it:
- Personal — only your own tasks can use it. This is the default.
- Organization — every task in the organization can use it. Only Org Owners and Admins can choose this.
- Attached to a project — every task on that project can use it, whoever started the task. See Attach a secret to a project.
More on owners and access: How secrets work.
Use it in an agent session
An agent asks for the secret with its credential_get tool, by the secret's path, when it needs it, and gets the values for that one call. The path is the owner's prefix and the secret's name:
org/<name>for an organization secret,projects/<project>/<name>for one attached to a project,me/<name>for your personal one.
A key connection hands the agent its fields: api_token.
Tell the agent in your task description which secret to use, for example “use the Apify secret org/apify”.
Manage, rotate or disconnect
Everything is on the secret's page under Secrets:
- Rotate a key: create a new key at the vendor first, then select Replace on the secret and paste it. Revoke the old key at Apify once the test passes. Steps: Replace or delete a secret.
- Disconnect: select Delete. The stored values are destroyed and agents lose access on their next call. To end access at Apify's side too, revoke or delete the key at Apify.
Limitations
- Actor runs consume your Apify platform credit and compute units; Jaah sets no spending cap, so set one in Apify Console under Settings > Usage & billing.
- A token with Limit token permissions on can only run the Actors and read the storages it was granted.
- Agents can do only what the connected Apify account allows.
Troubleshooting
The Test says Apify rejected the API token (401)
The token was revoked or mistyped. Create a new one in Console > Settings > API & Integrations and select Replace on the secret.
The Test passes but an agent gets 403 when it starts an Actor
The token has Limit token permissions on. Edit the token in Settings > API & Integrations and grant it the Actor and its storages, or use the Default API token.
Runs fail with a usage or credit error
The account's monthly credit is spent. Check Console > Settings > Usage & billing and raise the limit or upgrade the plan.
Still stuck? Select Test and read the result: it names the value Apify refused and the status it answered.
FAQ
Does Jaah run Actors on its own?
No. Only an agent working a task you started calls Apify, and only with the secret you let that task use.
Can Jaah or an admin see the key or token?
No. Jaah stores it encrypted and never shows it again. Only the tasks allowed to use the secret receive it, at the moment they ask for it.
Can I connect more than one Apify account?
Yes. Add one secret per account, each with its own name, and tell the agent which one to use.