Integrate BrainLink and list your app in the AI store in 5 minutes.
Register your application with BrainLink
If your are still testing your app and have no public URL, skip the registration and use5e476497-d7a1-4d27-8ad3-616210cf754d
as the app client ID. The user will be redirected tohttp://localhost:3000
as callback URL.
For React based frameworks like Next.js
For the rest
on-click
attribute the BrainLink.startCodeExchange(appClientId, appCallbackUrl);
method.
The application client ID must be the one you generated in the previous step and the callback URL is optional. You just need to provide a callback URL if you want
the user to be redirected to a different page after connecting his BrainLink account, otherwise, it will remain on the same page.baseURL
to https://www.brainlink.dev/api/v1
.
For example: