Home / Companies / Stream / Blog / Post Details
Content Deep Dive

How To Capture Leads From Live Chat In Zendesk

Blog post from Stream

Post Details
Company
Date Published
Author
Keith C.
Word Count
1,354
Language
English
Hacker News Points
-
Summary

The post outlines a step-by-step guide for integrating a lead creation process in Zendesk using a customer inquiry from a landing page or sales chat widget, utilizing a React frontend and an Express backend. The application captures user details through a simple registration form before initiating a private chat session with a sales representative, though the latter aspect is beyond the post's scope. The backend communicates with Zendesk Sell via its API to create leads and utilizes Stream's JavaScript library to handle chat token generation, while Axios is used for data transmission. Configuration involves setting up accounts with Zendesk and Stream, including OAuth security settings for Zendesk and API credentials for Stream. The tutorial emphasizes the use of environment variables for secure communication and provides a template for configuration. The process involves creating a CRM lead, registering users for chat, and setting up a chat instance with Stream, allowing users to enter a chat room through the frontend. The integration can be extended to other Zendesk objects like Contacts and Tasks.