Skip to main content
Customer SDK is a set of tools that helps you build a custom chat widget. Under the hood, it makes use of the Customer Chat API. Customer SDK lets you communicate with Text services directly from the browser environment using JavaScript without the need to develop your backend.

Is it for me?

If you need a fully customizable chat widget, using the Customer SDK is one of the options to do this. If you need a fully customizable solution and you feel brave, dive into the Customer SDK. We provide methods and events for deep integration with the Text platform. Keep in mind that interacting with this API requires some development skills. Customer SDK allows you to create frontend apps, so if you’re looking for server-side solutions, you should explore the Customer Chat API instead. If you want to dive deeper into Text, you might find the overview article handy.

Limitations

If a customer is chatting from a custom widget, private messages will not be available for agents.

About the Customer SDK

We provide an asynchronous API. Most methods return a Promise. You can subscribe to the emitted events with the on and off methods. Not familiar with promises? Read this article to learn more. We authenticate your sessions with the use of customer-auth package and expose the created auth object to the returned SDK instance. In general, you don’t have to worry about it or use the exposed object. If you need to get the authentication token, you can get it through the SDK like this:

Questions

If you have any questions, you can start a chat with our 24/7 Support.