How to add API access to an application
What an API is, and what a key is
An API is a way for one piece of software to ask another one questions and get answers. It returns the same information a colleague could look up and send you, without the colleague. A CRM, a finance system, a helpdesk, a scheduling tool — this is how each of them lets other software in.
A key is the password for that conversation. It is issued to software rather than to a person, so the system can tell your app is allowed to ask. Whoever runs that system creates it; Riff cannot, and neither can the agent.
Start from a file export
Getting a key involves other people: whoever owns the system has to agree, issue it, and decide what it may reach. That takes as long as it takes.
Do not wait for it. Most business systems will export their data — a CSV or a spreadsheet, from a button in the interface — and that needs nothing beyond the access somebody already has. Ask for one, and have the agent build on it. This is a normal way to begin, not a fallback.
You get something people can use while access is being arranged, and you find out whether the app is right before anyone grants it. By the time you connect the live system you will have seen the real data, which is what tells you whether the connection is returning the right thing.
Find out if your system has an API
You may not know whether the system you need has an API at all, or whether your company's copy of it can be reached from outside. You do not have to work that out yourself.
Give the agent the system and a link to its documentation and ask. It comes back with whether there is one, what it needs, and who you have to ask for it.
Four things make the request work. What you want. A link to the system's documentation, so it reads rather than guesses. Who you are — not technical. And what you want back: the steps, in order, with the ones that are yours marked as yours.
I want to connect [system] to this app using its API. Research this system — [link to its documentation] — and identify the steps I need to take. I am not technical, so walk me through it one step at a time. Tell me exactly what I need to get, and who to ask for it, and what you will do here.
The key does not go in the chat
A key is a long line of letters and numbers, and it does not go in the chat.
The chat is a transcript. Anything typed into it stays in it, and can be read by anyone who can open the app later. The agent will not take a key here — it names the secret it wants and leaves you to store it.
Click below to learn how to add API secrets to your application.
SecretsLast updated
Was this helpful?