Securely store API tokens using the Token Vault
Overview
The Token Vault lets you store your API authentication tokens securely on the Ada dashboard. Ada saves your tokens in variables that you can use in your bot, without exposing the token values in transcripts or in the Ada dashboard.
This feature may not be included with your organization's subscription package. For more information, see Ada's Pricing page, or contact your Ada team.
Add a token to your Token Vault
To use the Token Vault, add at least one API token to your bot.
-
On the Ada dashboard, go to Settings > Bot setup, then click the Token vault tab.
-
Click New token. The Create Token dialog box appears.
-
Under Name, enter a name for the token.
-
Under Value, enter the token.
-
Click Save. After you save the token, if you open it again, a censored version of the token will display for security reasons.
Use your token in an HTTP Request block
Once you’ve added your API tokens to the Token Vault, the token is available in a variable to include in your HTTP Request blocks.
-
On the Ada dashboard, go to Build > Answers, open an existing Answer or create a new one, then drag an HTTP Request block into your Answer.
-
In the HTTP Request block, select the token you added to authenticate your call.
-
At the bottom of the Answer editor, click Save.