In this step you will get your authentication working so users can login with their smart wallets.
First, configure your application and your API Key:
Create an app in the dashboard and copy the API Key.
Create a configuration in the Smart Wallets dashboard to enable login methods.
Hold onto your API Key for the next step.
Now set up and configure the Alchemy Accounts Provider in your project.
You can do this by wrapping the top level component (e.g. _layout.tsx in Expo or App.tsx in Bare React Native) in your app with the AlchemyAccountsProvider component from the @account-kit/react-native package.
Here’s an example of how to do this:
Now that you have set up the Alchemy Accounts Provider, you can setup your authentication!
You can choose from many authentication guides with react native instructions, like this one on Email One-Time Passwords.
Once you have authentication working, you can explore additional features: