Quick Start
Add Keet Link to Your Product
If you get stuck at any point, email for help at zack@trykeet.com. If you don’t get a response in 10 minutes, we’ll buy you coffee.
Keet link uses a series of token exchanges to authenticate your users accounts.
Step 1: Get a linkToken
so that you can initialize a link session for your users
Step 2: Make Keet Link appear in your frontend using the linkToken
Step 3: Swap the publicToken
, returned by keetLink
for an accountToken
Step 4: Use the accountToken
for future requests to authenticated sessions.
Step 1: Get a Link Token (Server side)
In your backend, set up a POST request to initialize a Keet Link session and get a linkToken
from this URL: https://api.trykeet.com/v1/link/token
You can now pass this public linkToken
back to your client to initialize the link component.
Step 2: Make the Keet Link Appear (Client side)
React
HTML/JS
React Native (Mobile)
-
Install the link sdk:
npm install @keet-tech/react-keet-link
-
Use the
linkToken
from Step 1 to open Keet link
Step 3: Swap publicToken
for accountToken
(Server Side)
In your backend, create a request to exchange the short-lived publicToken
for a permanent accountToken
.
Store this account token someplace secure. It is used to make all requests to this end users authenticated sessions.
You’re done!
Use the accountToken
to make all future requests on behalf of the user to every integration they use.