This, and the following, articles will cover some advanced use-cases for Klaus and may require a bit of technical experience.
You might need to send in conversations or users into Klaus in bulk, or have the need to export statistical data periodically. Both of these actions can be achieved with an API connection! Let's see how you could set one up.
You can set up a new connection by navigate to Settings → Connections and choosing *Add connection* from the top-right. From the *Service* dropdown, find the option
API token and name your new connection. It will then appear in the list of connections on that same page.
If you open up the settings (⚙️) for that new connection, you can reveal the token by clicking the 👁 icon. Best not to share it with anyone outside of your company 🤫!
Go ahead and copy the API token and your account ID, as you'll need those when performing API requests.
Lastly, to locate the ID of your workspace, visit your account's Settings page and navigate to "Users & Workspaces". From there, you can select a workspace and find its ID in the URL (e.g. https://kibbles.klausapp.com/settings/workspaces/11759 -
11759 in this example).
And that's all there was to it! You should now have an API token, account ID and workspace ID to make requests. Next, you can explore importing users, importing conversations & exporting data from Klaus with your newfound powers.