// --- 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
top of page
Video Channel Name

Video Channel Name

Video Title
00:23
Video Title
00:32
Video Title
00:29
Video Title
00:31
Video Title
00:23
Video Title
00:32
Video Title
00:29
Video Title
00:31

GET IN TOUCH

APADS, Inc.
Association of Pan-African Doctoral Scholars, Inc.
APADSHelpDesk@gmail.com
P.O. Box 882252
Los Angeles, CA 90009-9998

QUICK LINKS

JOIN OUR MAILING LIST

Thanks for subscribing!

  • Instagram
  • Facebook
  • LinkedIn

© 2023  by Association of Pan African Doctoral Scholars, Inc.  |  a 501(c)(3) Nonprofit Organization  |  All rights reserved  |  Privacy Policy

APADS is a support organization that fosters and provides mentoring support for Pan-African students and scholars.  We are concerned both with ensuring the academic success of students pursuing a doctoral degree and supporting the professional development of Pan-African scholars in educational research and corporate settings. 

We are a multifaceted non-profit organization interested in developing our community through the successes of our Members.
 

bottom of page