Keys
Give an app the secret values it needs without ever writing them in the chat.
A key is a secret value that lets your app talk to another service: a payment provider's key, a partner's access token. Cosmos keeps each app's keys sealed. The agents can ask for a key by name and learn whether it is set. They never see its value.
Never write a key, a password or a token in a message, and never put one in a file you attach. Messages are read by the agents and stay in the conversation.
When the builder asks for one
When the app needs a key, the builder stops and shows a secure form in the chat, with the key's name. Paste the value there and save. The builder goes on, knowing only that the key is now set.
Add or change a key yourself
Open Keys from the + beside the app's tabs. You see the names of the keys the app has, with their values hidden. From there you can add a key, replace its value or remove it.
Where to get a key
A key comes from the other service, usually from a page named API keys or Developers in its settings. Create one for this app alone where the service lets you, with only the permissions the app needs, so you can revoke it without affecting anything else.
Keys or connections
There are two ways to give an app access to a service:
- A key belongs to one app. Use it for a service only that app uses.
- A connection belongs to the organization, and an owner grants it to each app that needs it. Use it for an account several apps share.
What your app gets without a key
Sending email, using AI, signing people in and storing files work in every app with nothing to set up. Ask the builder for them. An app's own use of AI spends your organization's credits.