Skip to content

0xStation/groupos-email-onboarding

Repository files navigation

Email Onboarding

A template to create onchain accounts and authorize users with email.

This is created with GroupOS Cloud Account and Stytch Consumer Authentication.

Try it out!

Getting Started

First, set up environment variables at .env

Stytch

  • Go to Stytch and create a new project. Choose Consumer Authentication.

  • Go to the API keys tab to get Project ID, Secret key, and Public token

GroupOS

  • Go to GroupOS and get your API key. GroupOS is currently in beta, fill in this form and we'll get back and onboard you in 24 hours.

Second, enable Stytch SDK on test environment.

Note: When you go live, do so on the live environment.

Lastly, run the development server:

npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.