Set up your Chipi Dashboard
Go to dashboard.chipipay.com and create an account. The dashboard quickstart will walk you through:
- Creating your project — gives you your API keys (Public Key + Secret Key)
- Configuring authentication — connects your auth provider’s JWKS endpoint
- Copying your
.envvariables — the dashboard shows the exact snippet to paste
- Public Key (
pk_prod_xxxx) — used client-side - Secret Key (
sk_prod_xxxx) — used by the server-sideChipiProvider
Initialize the SDK
- Add your Public Key to your environment variables.
- In your
layout.tsx, wrap your app with theChipiProvidercomponent as shown below:
Start Using the SDK
You’re ready to use the SDK! We recommend starting with our convenience hooks that simplify common operations:
useChipiWallet - Unified Wallet Management
useChipiWallet Documentation
Learn about all the options and return values
useChipiSession - Gasless Session Keys (CHIPI wallets only)
useChipiSession Documentation
Learn about session key management
Next Steps
That’s it! You should now have an initial working version of Chipi Pay integrated into your application. Explore more features:
- All Available Hooks - Complete hook reference
- Session Keys - Enable gasless UX
- Buying Services - Accept crypto payments
