Maggie May

Maggie May

Maggie May

I’m a designer from Amsterdam, The Netherlands. Early 2017 I joined Framer to help build the next generation interactive design tool. At Framer I help shape the brand and build Framer.com.

// --- SERVER CODE --- const jwt = require('jsonwebtoken');   const secret = process.env.CHATBOT_IDENTITY_SECRET; // Your chatbase secret key (should be stored as a secret not in the code)   const user = await getSignedInUser(); // Get the current user signed in to your site   const token = jwt.sign( { user_id: user.id, // Your user's id email: user.email, // User's email stripe_accounts: user.stripe_accounts, // User's stripe accounts for stripe integration // ... other custom attributes }, secret, { expiresIn: '1h' } );   // --- CLIENT CODE --- const token = await getUserToken(); // Get the token from your server window.chatbase('identify', { token }); // identify the user with Chatbase