Magic Migration Guide
8min
Magic Account Setup
Visit Magic and sign up for an account.
Add your public key to the .env
You can find your publishable API key in the Home section of the Magic dashboard.
Text
|
Install magic-sdk and chord-magic
Shell
|
Create a Magic client
Visit the file where you wrap your app in ChordProvider and add a magicClient:
JS
|
Then, pass the magicClient to the auth prop of the ChordProvider:
JS
|
Add a LoginForm component
Try it out
Visit your login page and try logging in using a magic link!