Skip to main content
Apify is a web scraping and automation platform for running Actors, managing Actor runs, and reading structured results from datasets and storage. The Apify connector lets your Lovable app call the Apify API through a managed workspace connection so you can scrape sites, automate browser workflows, and surface crawl results in your product. Apify is available as an app + chat connector: one shared connection that works in the chat while you build and in your published apps. With Apify, your app can:
  • Run Actors to scrape websites and automate browser workflows
  • Poll Actor run status and retrieve logs when jobs finish
  • Read structured results from datasets and key-value stores
  • List and manage Actors, runs, and storage in your Apify account
Apify is a good fit when your app needs scrapers, scheduled crawls, or dataset-backed views powered by Actors you already run on Apify.

Common use cases and example apps

How to connect Apify

Who can create Apify connections depends on your plan and workspace settings. See Who can create connections and clients. App + chat connectors are available by default on Free, Pro, and Business plans. On Enterprise plans, they are effectively disabled at first: Who can create connections and clients defaults to No one until an admin changes it in Connectors → Admin settings → App + chat connectors. You can create multiple Apify connections using different API tokens, which is useful for separating environments (for example, development and production) or managing usage limits. When the connection is created, you can link it to the projects where you want to use it. Anyone building in a project can ask Lovable in chat to link their project to it.

Prerequisites

Before connecting Apify, make sure you have:
All Actor runs and API usage through this connector count toward your Apify plan. Billing and quota are handled directly by Apify, not Lovable.

Step 1: Get an Apify API token

An Apify API token lets your Lovable app authenticate with the Apify API. To create an Apify API token:
1

Open your Apify account

Sign in to the Apify Console.
2

Open API and Integrations

Go to Settings → API & Integrations.
3

Create a token

Create a new API token and give it a descriptive name, for example Lovable integration.
4

Copy the token

Copy the token and store it securely. Newer tokens often start with apify_api_. Older tokens may look different.
Your API token functions like a password. Keep it secure and never share it publicly. You’ll need it in the next step.
See Apify documentation for more: Getting started with the Apify API.

Step 2: Connect Apify to Lovable

You can create multiple connections using different API tokens.
1

Open Apify in Connectors

Open Connectors and select Apify.
2

Add a connection

Click Add connection.
3

Configure the connection

  1. Display name: name the connection, for example Apify Prod. This name is only used inside Lovable to identify the connection.
  2. API token: paste your Apify API token.
4

Choose who can use this connection

Under Who can use this connection, decide who in your workspace can use the connection. You start as the only person with access:
  • Only you (default): leave the access list as is; only you can use the connection and its associated data.
  • Invite specific people: add workspace members by email; only you and the people you add can use the connection and its associated data.
  • Invite entire workspace: click Invite entire workspace to make the connection available to everyone in your Lovable workspace.
See Who can use connections and clients for more information.
5

Connect

Click Connect.
When connected, anyone building in a project can ask Lovable in chat to link their project to Apify (based on configured connection-level access). Your Lovable apps can then run Actors and read datasets through Apify.

Limitations

The Apify connector cannot:
  • Call the Apify API from client-side browser code. Calls go through Lovable from a server-side endpoint.
  • Refresh or rotate API tokens automatically. To rotate, create a new token in Apify and update the Lovable connection.
  • Support per-end-user Apify login. Each connection represents a single Apify account shared across all projects linked to it.
Apify enforces rate limits on its API. If you poll Actor runs or re-fetch datasets frequently, expect occasional 429 responses and add retry-with-backoff in your server code. If a request fails because the API token has been revoked or rotated in Apify, generate a new token and update the Lovable connection.

Manage your connection

Connections are managed from Connectors: select , then open the connection.
  • Unlink projects to remove access from specific projects while keeping the connection available for others. See Unlink projects from a connection for the steps.
  • Delete the connection to remove it from the workspace entirely. Deleting is permanent. It removes the credentials from all linked projects, and app features that use stop working until a new connection is added. See Delete a connection for the steps and who can delete.