Connected services
A connected service is a system outside Basement that your organization uses: a service desk, an issue tracker, a knowledge base. A person connects an account of the service in Connections. After that, agents and programs can use the tools of that service through the Gateway.
Services you can connect
An admin sets a service up one time for the organization. Then each member connects their own account, and their agents act as them.
Whose account a key uses
A connection is private to the person who made it, or shared with the organization. A key uses the connections that the person who connected the key can use. A key never reaches another person’s private connection.
For a service desk, this means an agent sees the tickets that its person sees, and writes as that person.
Read and write
Each tool of a service is a read tool or a write tool. An access level gives a key read, or read and write, for each service:
- With read, the key lists the service’s tools and calls the read tools. A write tool answers
403. - With read and write, the key calls every tool.
How to call a service
Three tools give access to every connected service:
List the services
list_connected_services answers the services the key can use, and each connection with its connectionId.
The answer is what the service answered. When the service fails or refuses the call, the HTTP API answers 502 with the service’s message.