website logo
Navigate through spaces
Chord Commerce
⌘K
Getting Started
CMS
Data
OMS
Integrations
👩‍💻Developer Tools
Shopify
Docs powered by archbee 

Magic Migration Guide

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

MagicLoginForm

Try it out

Visit your login page and try logging in using a magic link!

Updated 16 Dec 2022
Did this page help you?
Yes
No
UP NEXT
Stytch
Docs powered by archbee 
MagicLoginForm