1
Install Remix
Create a new Remix project by using the Remix CLI.
More information about Remix can be found here.
Terminal
2
Install OnchainKit
Add OnchainKit to your project by installing the
@coinbase/onchainkit
package.3
Get A Client API Key
Get your Client API Key from Coinbase Developer Platform.
Create a 
Add your Client API Key to the Update the If this is the first env variable you’ve added to your project, you will need to
update the

.env
file in your project’s root directory.
.env
file:.env
app/root.tsx
file to provide access to your Client API Key
through window.ENV
:app/root.tsx
Layout
component of app/root.tsx
to make it available to your app:app/root.tsx
4
Add Providers
Create a
providers.tsx
file. Add OnchainKitProvider
with your desired config.Under the hood, OnchainKit will create our recommended Wagmi and QueryClient
providers. If you wish to customize these providers, check out Custom
Supplemental Providers.providers.tsx
5
Wrap your app with <AppProviders />
After configuring the providers in step 4, wrap your app with
the
<AppProviders />
component.app.tsx
6
Import OnchainKit Styles
OnchainKit components come with pre-configured styles.
To include these styles in your project, add the following import
statement at the top of the file where imported This ensures that the OnchainKit styles are loaded and applied to your entire application.
<AppProviders />
:app.tsx
- For Tailwind CSS users, check out our Tailwind Integration Guide.
- Update the appearance of components by using our built-in themes or crafting your own custom theme. Explore the possibilities in our Theming Guide.
Start building!
Explore our ready-to-use onchain components:Identity
– Show Basenames, avatars, badges, and addresses.Wallet
– Create or connect wallets with Connect Wallet.Transaction
– Handle transactions using EOAs or Smart Wallets.Checkout
– Integrate USDC checkout flows with ease.Fund
– Create a funding flow to onboard users.Tokens
– Search and display tokens with various components.Swap
– Enable token swaps in your app.Mint
– View and Mint NFTs in your app.