The Link SDK is used to connect your users’ accounts to your own application, so that you can take actions on your users’ behalf.

These SDKs are not published to public package registries at this time, so go here to get access. We’ll give you an access token that you can use to connect to Anon’s private package registries for NPM, PyPI, and more.

Web App Typescript SDK

This is the core of the Link SDK. It embeds in your web app and presents a login UI which communicates with a Chrome extension that allows a user to grant your application access to their account. Let’s get started!

Step 1

Create a .npmrc file in the same directory as your package.json and have it contain the following snippet. Replace NPM_TOKEN with your auth token received from Anon.


Step 2

Add the SDK package to your project’s package.json

npm install '@anon/sdk-web-link-typescript@0.2.5'
# or
yarn add '@anon/sdk-web-link-typescript@0.2.5'

Step 3

Integrate the SDK into your application. You can find examples for different applications in our examples repo (coming soon).

For the environment config, please use "sandbox".

Here are some code examples of applications integrated into Anon:

For the SdkClient id, please make sure to use the one associated with your UserPool. The Link SDK is used in the webapp; the initial SdkClient is just for the APIKey.

Chrome Extension SDK

We use a Chrome extension alongside the SDK.

You could install our Chrome extension here and use it directly.

Alternately, you could embed the SDK into your own extension, by checking out our guide.

Now you are ready to continue setting up your Integrations!

Check out our supported Integrations below.