1
Install Actions SDK
Follow the
quickstart guide to
add Actions SDK as a dependency in your app.
2
Integrate an embedded wallet
Follow the integrating
wallets guide,
choose and install a Wallet Provider.
3
Create an config file
actions.ts - An accessible file that holds all of your configuration preference.4
Configure a Wallet Provider
Let Actions SDK know which Wallet Provider you’ve chosen:
- Privy
- Turnkey
- Dynamic
actions.ts
5
Configure supported assets
Configure which assets you want to support:
actions.ts
6
Configure Markets
Define which markets you want to support or block within your app:
actions.ts
7
Configure a Lend Provider
Configure which lend protocol you want to support:
- Morpho
- Aave
actions.ts
8
Configure supported chains
Configure supported chains:
actions.ts
9
Initialize Actions
Finally bring it all together and initialize Actions:
actions.ts
10
Take Action
Once you’ve initialized your actions instance, import it anywhere you need to take action: