Skip to main content
The Browser SDK is designed for client-side use only. Never expose your secret API key in frontend code - only use your public key.
1

Install the Browser SDK

2

Get your Public API Key

  1. Go to your API Keys in the Chipi Dashboard
  2. Copy your Public Key (pk_prod_xxxx)
You only need the Public Key for frontend applications. Never use your Secret Key in client-side code.
3

Initialize the SDK

Create a new instance of the ChipiBrowserSDK with your public API key:
4

Handle Authentication

The Browser SDK requires a bearer token for authentication. You’ll need to obtain this from your authentication provider:
5

Create Your First Wallet

Now you can create a wallet for your users:
6

Make Your First Transfer

Transfer tokens between wallets:

Next Steps

Now that you have the basic setup working, explore more advanced features:

Security Best Practices

  • Secure your bearer tokens properly
  • Validate user inputs before making API calls
Need help? Join our Telegram Community for support and to connect with other developers.