Skip to main content
This quickstart connects one end user’s Google Search Console account through the AIsa hosted page and runs a read-only action with it. You play both roles: the developer who calls the API, and the end user who authorizes in the browser. You need:
  • An AIsa API key from Console → API Keys, and a positive balance. Every step is free except the final run, which costs USD 0.0003 when it succeeds.
  • A Google account that can see at least one Search Console property. Any other oauth2 app works the same way; only the app key and the action change.
  • curl and jq, or Python 3 with requests, or Node.js 18 or later.
Prefer to click through it first? Open console.aisa.one/apps, pick an app and choose Connect account. See Console guide.

Before you start

Call AIsa Connect from your backend. Never put an API key in a browser or mobile app.

Run through it

1

Find the app

Search the catalog. q matches app keys, names, aliases and categories.
authTypes is oauth2, so the end user connects through the hosted page.
2

Pick an action and read its schema

google_search_console.list_sites is a read action that lists the properties the connected Google account can see. Check required in its inputSchema; this quickstart sends {} as the input.
3

Start a hosted connect session

The session is valid for 30 minutes. Without redirectUrl, the end user ends on AIsa’s result page, which is all a quickstart needs.
4

Authorize as the end user

Open the complete connectUrl in a browser, including the part after #. Sign in to Google and allow access. The page shows App account connected when it is done.
5

Confirm the connection

Poll the session from your server until state is completed, failed or expired:
6

Run the action

output is what the app returned, shaped by the action’s outputSchema. The header shows the charge in micro-USD: 300 is USD 0.0003.

The same flow in code

Both scripts do steps 3 to 6: start a session, print the link, wait for the connection, then run the action.

If something goes wrong

The full list is in Errors & troubleshooting.

Next steps

Authorizing end users

Return users to your app with redirectUrl, connect credential-based apps, and reconnect.

Running actions

Input schemas, validation, idempotent retries and write safety.

Use with agents

Let an agent discover and run actions over MCP or function calling.

Managing connections

List, inspect and remove your end users’ connections.