> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vana.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Test the flow

> Run the connect flow end to end and confirm the payment receipt and escrow change.

## Set up a test user

A live read needs a user whose **Personal Server** is ready and has synced data for the source you request. You don't need Vana to provision one — create your own:

<Steps>
  <Step title="Open the Vana app and sign in">
    In the environment that matches your app, open the Vana app sources page and sign in as a user: [`app-dev.vana.org/sources`](https://app-dev.vana.org/sources) for testnet, or [`app.vana.org/sources`](https://app.vana.org/sources) for production. This is a **user** account, separate from your **app identity** — but it can be your own account.
  </Step>

  <Step title="Connect the source you request">
    Connect the same source your app requests (for example Spotify) and let it sync. This provisions the user's Personal Server and populates the scopes you'll read.
  </Step>
</Steps>

<Note>You can approve your **own** app with this account — an app can grant to itself, so one person can be both the builder and the approving user. Use the **same environment** on both sides (`VANA_ENV`/`VANA_NETWORK` on the app must match the Vana app you sign into); testnet and mainnet data do not mix.</Note>

## Run the flow

<Steps>
  <Step title="Start your app and connect">
    Start your app in the matching Vana environment, then click the connect button.
  </Step>

  <Step title="Approve">
    Confirm the Vana approval screen shows your app name, app address, source, and scopes, then approve.
  </Step>

  <Step title="Confirm the result">
    Your app should render the JSON from `/api/vana/data`, including `scope`, `data`, and a `payment` object (`opType`, `opId`, `amount`, `asset`, `paidAt`).
  </Step>

  <Step title="Confirm the escrow change">
    Check that the app identity's escrow balance changed in Vana Account — for a paid read, available balance decreases or authorized amount increases.
  </Step>
</Steps>

The `/api/vana/data` response (with its `payment` receipt) and the escrow balance in Vana Account are your immediate end-to-end confirmation.
