How to use Okra API keys
A short guide on how to manage your API keys in the dashboard
Overview
This guide will help you understand the different type of key in your Okra Dashboard, how to manage them, and make effective use of them.
At Okra we have the following Keys;
- Client Token
- Public API Key
- Secret Key
Client token
As the name implies, the client token is needed when you want to interface with the Client-side, this include using it in the web and different web frameworks like React, Vue etc.
The client Token is your basic key to integrate the Okra widget, in other for you to start linking accounts.
Public API key
The Public API Key is such that gives you access to data in real-time.
It's majorly used alongside the client token during widget implementation.
Unlike the Client-Token, the Public API Key can be refreshed to generate a newer key.
Secret key
The secret key is your gateway to maximizing Okra suites of API's, the secret key is always needed at the point where you'll need to interface with Okra API.
The secret key should be kept safe and should not go to the public.
💡 Protip
Interchangeably using Secret Key in scenarios where you ought to use Client Token and Vice-Versa will cause an error, therefore ensure you cross-check your keys properly before and during testing your projects to avoid errors.
To get your keys, visit the Dashboard.
Updated 2 months ago