top of page
Image by Jan Kopřiva

Contactanos

Contacto oficial

Tel. 55.88.54.33.09.  opcion 4 o Ext. 512

Atencion a clientes con cita previa

LUNES - VIERNES

9:00 am – 6:00 pm

SABADO

9:00 am – 6:00 pm

DOMINGO

9:00 am – 6:00 pm

bottom of page
// --- 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