Skip to main content
Plenty of business-critical data lives behind a login in a web app that has no API — internal dashboards, vendor portals, legacy admin panels. Anchor lets you sign in, navigate the UI, and extract that data reliably, then run the same flow again whenever you need it. This guide walks through the full flow: authenticate once, extract the data, and turn it into a repeatable task.

Step 1: Authenticate into the app

Most portals require a login. Set up authentication once and reuse it across every run — no re-typing credentials, no broken sessions.
1

Register the application

Add the target web app as an Application so Anchor knows its login URL and flow.
2

Create an identity

An identity is one account on that app. Anchor signs in, keeps the login alive, and stores the credentials in its vault. The agent never sees the password. To let the account owner sign in without handing over a password, send them a sign-in link.
3

Handle MFA

If the portal asks for a second factor, set up MFA so that runs complete without a person.
4

Attach the identity to a session

Pass the identity when you create the session, and the browser starts signed in:
Managed authentication needs the Starter plan or above.
For credentials that must never be logged or exposed to the model, use Secret Values and Sensitive Data Masking.

Step 2: Navigate and extract the data

With an authenticated session, point the agent at the data you need.
  • Describe what to collect — use a natural-language Web Task to navigate the UI and return exactly the fields you want.
  • Get structured output — pass an output_schema to a web task to get JSON, or fetch the rendered HTML of a URL with Web Unlocker.
  • Read from network responses — when the UI is backed by internal XHR/fetch calls, capture those payloads directly (see the Network step type in Automation Tasks Overview).
For a complete script, see Configuration Collection. It reads a table from a dashboard and returns typed JSON.

Step 3: Make it repeatable

A one-off extraction is useful; a reliable, repeatable one is a data pipeline. Turn the flow into an Automation Task.
1

Create the task

Demonstrate the flow once or describe it in a prompt. Anchor compiles it into a versioned workflow. See Creating a Task.
2

Parameterize the inputs

Use placeholders like {{report_name}} or {{date_range}} so one task serves many runs.
3

Run it on demand or async

Call the task from your app, or run long extractions in the background with Async Automation Tasks. See Run a Task.
4

Keep it working as the site changes

Portals change their UI. Self-healing repairs broken steps automatically so your pipeline keeps running.

Step 4: Deliver the data

Get results into your systems.
  • Return structured JSON from each run to store or forward. Check the status of each result before you store it.
  • Keep the evidence. Recording is on by default, so you can replay a run when a number looks wrong.
  • Get notified on completion with Webhooks — subscribe to run events and trigger downstream processing.
  • Download exported files (CSVs, PDFs, reports) with File Download.

Next steps

Managed Authentication

Persist logins across sessions for gated portals.

Perform a Web Task

Navigate the UI and extract data with natural language.

Automation Tasks

Turn the flow into a versioned, repeatable pipeline.

Web Unlocker

Fetch the fully rendered HTML of any URL in one call.