# Connect your app

Give Insurge your app's address and a test sign-in, so agents can open your app, learn its pages and show it in meetings.

Tour guides and help desks show your real app on screen while they talk. Before an agent can learn your app or show it, Insurge needs the address you open it at and, if it has a login, a way to sign in. You set both once, in App Knowledge. Every agent uses them unless you give it an app of its own.

## Before you start

- You need the **Admin** role in your workspace. People with the **Sales** role see Results only. See [Team and roles](/docs/settings/team-and-roles).
- Your app must open from the public internet. The browser Insurge runs only reaches public addresses, so an app on `localhost`, on a private network or behind a VPN can't be opened. If that is your case, ask your Insurge contact.
- Have a test account ready. The next section explains why and how to pick one.

## Choose a safe demo account

Agents really click, type and save in the account you give them, and every visitor sees what is on screen. Pick the account with that in mind.

- **Use a test account, never a real person's.** A dedicated demo account keeps customer data off screen and keeps your own activity out of meetings.
- **Fill it with sample data.** Use records that look real but belong to no one. Visitors see names, amounts and lists exactly as the account shows them.
- **Expect changes.** A walkthrough that saves, deploys or deletes something does it for real in this account, during tests and in meetings. A test or demo copy of your app is the safest place for that.
- **Give it the access the tour needs.** If you want to show what an ordinary user sees and what an admin sees, save one account for each. See [Saved sign-ins](#saved-sign-ins).
- **Keep the two-step code key if there is one.** If the account signs in with a two-step code, the code key (the text under the app's two-step QR code) lets agents sign in again on their own.

## Connect your app

### Open App Knowledge

In the side menu, under Knowledge, open **App Knowledge**. The first time, the page shows **Set up App knowledge** with two steps: **Your app** and **Learn my app**. This page covers the first step. The second is in [App knowledge](/docs/knowledge/app-knowledge).

### Save your app's address

In **App address**, type the address you open your app at, like `app.example.com`. It can be the address you land on signed in or signed out. Press **Save**.

To change it later, press **Change** beside the address. Once setup is done, the address is under **More settings**, in the page header.

### Sign in with your test account

If your app has a sign-in page, press **Sign in yourself**. A window called **Sign in to your app** opens, showing a browser that runs on Insurge's server.

Sign in as usual. Single sign-on and two-step codes work here. Typing and pasting go to the sign-in page, and F6 reaches the window's own buttons. A timer shows how long the browser stays open; it closes itself when the time runs out.

When you are signed in, press **Save sign-in**. Your password goes to your app and isn't stored.

### Save the password

The window closes, and the **Your app** step asks you to **Keep agents signed in**. Fill in **Account** and **Password**. If you signed in with a two-step code, a **Code key** box appears too. Press **Save password**.

With the password saved, agents sign in again on their own when the sign-in expires. **Not now** keeps the sign-in you made, without the password.

### Check access

Press **Check access**. Insurge opens your app with the saved sign-in and tells you whether it still works: **Still signed in**, or **Your sign-in has stopped working** with the reason.

**Your app has no sign-in page?**

Skip the sign-in steps. The page says **Not signed in. Fine if your app has no sign-in page.**

### Other ways to sign in

Under **Other ways to sign in** you can also set:

- **Sign-in page**: where signing in starts. Blank starts from your app address.
- **Username and password**: for apps with a plain sign-in form on their own site. Fill in **Sign-in page** (it is needed here), type the test account's user and password, and press **Sign in and save**. **Keep agents signed in with it** is on by default and keeps the password too. This doesn't work with single sign-on or two-step sign-in; use **Sign in yourself** for those.

## Sign-in status

The sign-in controls are in the **Your app** step and, after setup, under **More settings**, in the page header. The sign-in status reads one of these:

| Status | What it means | What to do |
|---|---|---|
| **Signed in** | The saved sign-in works. It also says when it was last checked. | Nothing. |
| **Saved, not checked yet** | The sign-in is saved but hasn't been used yet. | Press **Check access**. |
| **Sign-in has expired** | The saved sign-in has run past its expiry date. | Sign in again, and save the password so it renews itself. |
| **Sign-in has stopped working** | Your app showed its sign-in screen to the saved sign-in. | Press **Sign in again**. |
| **Saved for another site** | The saved sign-in belongs to a different site than your app address. | Sign in again on your app's own address. |
| **Not signed in** | Nothing is saved. | Fine if your app has no sign-in page. |

## How a sign-in expires and renews

- A sign-in lasts as long as your app lets it, often a few days.
- With the password saved, agents sign in again on their own when it expires. They repeat the sign-in steps you took.
- Without it, agents stop at your app's sign-in page until someone signs in again, and learning waits. The page warns **Password not saved. Agents stop when the sign-in expires.** Press **Save password** beside it to fix that.
- If your app rejects a saved password three times in a row, that sign-in is turned off so the account isn't locked out. Saving the right password turns it back on.
- To renew by hand, press **Sign in again** (or **Sign in yourself**) and repeat the steps above.

To remove the saved sign-in, press **Remove**, then **Remove sign-in**. Agents see your app's sign-in page until someone signs in again. Passwords saved under Saved sign-ins stay.

## Saved sign-ins

**Saved sign-ins**, in **More settings**, lists every account agents can sign in with. Press **Save an account** to add one:

| Field | What it is |
|---|---|
| **App address** | The sign-in page, or the app's address. |
| **Account** and **Password** | The test account. The password is encrypted, and never shown again, even to the agent. |
| **Name** | A label you recognise, like "QA account". |
| **Role** | Only needed when one app has several accounts, like an ordinary user and an admin, so a tour can show what each sees. Leave it empty for the everyday account. Letters, numbers, dots and dashes. |
| **Show the sign-in** | Normally the screen pauses while the agent signs in. Turn this on only when the login is part of what you're showing: visitors see the account name, but never the password. |
| **Code key** | The text under the app's two-step QR code. |
| **Sign-in provider** | The address of a separate sign-in service your app sends people to, such as an Okta page. |
| **Approved by** | Who in your organisation agreed to this account being used. |

The **Name**, **Role**, **Show the sign-in**, **Code key**, **Sign-in provider** and **Approved by** fields are under **Extra options**.

A saved password is only ever typed into the app address you gave, plus the sign-in provider if you added one. The agent that types it is never told what it is.

## Which pages and sites agents may open

- **Your app only.** Agents open your app address and work inside your app. They can't open other websites, apart from your workspace's presentations.
- **Learning stays on your app.** Finding pages and adding a page by hand only work on your app's site: its address, an agent's own app address or opening page, or the same parent domain. For example, `app.example.com` also allows `example.com` and `reports.example.com`.
- **Pages you hide stay out.** Hide any page agents shouldn't use or talk about, like billing or settings. See [Hiding pages](/docs/knowledge/app-knowledge#hide-pages-agents-shouldnt-use).
- **Navigation notes** tell agents how to get around, like "use the breadcrumb to go back, not the browser's back button". Set them in **More settings**. Every agent on this app reads them unless it has notes of its own.

Agents show your app streamed: it runs in a browser on Insurge's server, and the visitor watches it live. This works with any app. Ask your Insurge contact if you need it changed.

## Give one agent its own app

What you set in App Knowledge is the workspace default. A tour guide or help desk can override it on its **App** tab:

| Setting | What it does |
|---|---|
| **App address** | The app this agent opens. Blank uses the workspace app from App Knowledge. |
| **Stage camera** | Pushes in on whatever the agent points at, and pulls back for context. Turn it down or off for a dense dashboard. |
| **Opening page** | Where the meeting starts. Type to pick from your mapped pages, so the agent already knows the page. A page outside the workspace app works, but the agent's page knowledge won't apply there. |
| **Navigation notes** | How to get around this agent's app. Blank uses the workspace's notes, unless the agent drives its own app. |

Copilots, onboarding and training agents work inside your user's own tab and open nothing, so they only need navigation notes. Presenters don't show an app. See [Create an agent](/docs/agents/create-agent).

## Check it worked

- The **Your app** step is marked done, and the status box says **Signed in**.
- **Check access** says **Still signed in**.
- **Learn my app** is ready to press. If it says **Learning waits until your app's sign-in works.**, the sign-in needs fixing first.

Next, [learn your app's pages](/docs/knowledge/app-knowledge).

## Troubleshooting

#### Learning waits until your app's sign-in works

The saved sign-in has expired or stopped working. Press **Sign in again**, sign in, and save the password so it renews itself.

#### A learning run says Your app asked for a sign-in

The run reached your app's sign-in page. Sign in, then try again. A run that stops at the sign-in page isn't counted against your daily runs.

#### The status says Saved for another site

The sign-in finished on a different site from your app address, for example on a separate login domain. Press **Sign in again** and make sure you end up on your app. If your app really lives on another address, change **App address** first.

#### A saved account says Couldn't sign in

Check the account and password, then save them again. Saved sign-ins can't do single sign-on or two-step codes on their own; for those, use **Sign in yourself** and add the **Code key**.

#### Use an address on your app

You tried to learn or add a page on a site that isn't your app. Use an address on your app's site, or change your app's address first.

#### Insurge can't open my app at all

Your app may only open from your office network or a VPN, or from a private address. Insurge's browser only reaches public addresses. Ask your Insurge contact.
