# Set up an internal tool with your agent, step by step

You do not need to look for anything on scava.ai. Tell your agent what the app is for. It builds the app, puts it online and sets it up on Scava as it goes. There is no round of questions first: the agent takes what it can from what you said and asks only when a step needs something it cannot tell, one short question at a time. Keys are the one thing you enter yourself, on the page of the app, so they never pass through the AI.

## What it starts from

What you did not ask for stays at the defaults:

- Only you can open the app until it is shared.
- Everyone with access reads every entry and changes their own.
- No code from an authenticator app, no own address, no camera, microphone, location or notifications.

The agent changes a default when the app needs it or when you ask for it. If the app holds sensitive data, it may suggest the code from an authenticator app once.

## While it builds

Things come up when they matter, not all at once:

- **Who uses it.** If you said "for my team" or named people, the agent shares the app with them after the first publish. It only asks if you have not said who it is for.
- **Who may see and change what**, when not everyone should see every entry, such as salaries or approvals. That becomes the rules of the app (see [Rules](/docs/rules)), and the agent creates the groups and roles they use.
- **Other services**, such as an AI or a company system. The app then gets server code (see [Server code](/docs/server-code)), and the agent tells you which key to enter and for which service.
- **A company** you build apps for: the app goes there (see [Companies](/docs/companies)).

## After it is online

The agent checks what is set and what still needs you:

- **Keys.** The agent names each key the server code needs and the service it is for. You open the page of the app on scava.ai and paste the key under "Secrets". The agent never sees it, and you never paste a key into the chat.
- **An own address**, if you want one: the agent adds it and tells you the two DNS records to add where your domain is managed, then checks them. The address goes live only once the records are there.
- **People who asked for access**, and change requests waiting for you.

You can ask for anything later too, in your own words: "only the HR group may see salaries", "ask for the code once a day", "share it with Anna".

## What your agent changes on Scava

| You ask for | Tool |
|---|---|
| Name, pause, the code from an authenticator app, the "Suggest a change" button, "Made with Scava", own address, company, a note on a version | `change_app` |
| Deleting an app, with all its data | `delete_app` |
| Who has access, groups and house rules at a glance | `get_overview` |
| House rules, also where new apps keep their data | `change_house_rules` |
| Taking someone out of every app, or letting them back | `change_people` |
| Groups and roles | `change_group` |
| Companies: create, people, developers, join an invitation | `manage_company` |
| What is set and what still needs you | `get_app_setup` |

With a terminal, the agent uses the [Command line](/docs/cli); each command is a call of one of these tools.

## You hear of what matters

When your agent lets more people in, takes protection away or deletes something, you get an email that says what it did: deleting or moving an app, turning off or changing the code from an authenticator app, adding an own address, changing house rules, letting a person back, adding people to a group or giving roles, adding people or developers to a company, joining a company or deleting one. One email for each step of the agent, with all its changes.

Agents read texts written by other people, such as files, web pages or change requests. Such a text can try to make an agent change something. The email shows you at once. If you did not ask for it, undo it and disconnect the agent on the Connect page.

## What stays with you, in the browser

- Your account: reading it, deleting it, the code from an authenticator app for your own sign-in.
- Paying for a plan.
- Downloading all data of an app.
- Accepting or declining change requests.
- Connecting an AI, and "Sign out everywhere else".
- The value of a key, entered on the page of the app.
