T-Mobile Assistant Dashboard
Creating a call center has never been easier. With T-Mobile assistant, receive calls from your customers and have them routed to the right agent in a matter of seconds.
Empower your customers today with only a few lines of code.
1pnpm install @tmobile-assistant/connect-anywhere-widget @tmobile-assistant/react
1export default function Page(): JSX.Element {2return (3<div>4...5<ConnectAnywhereWidget6agent="425-303-1302"7clientId="tmon-0je2N5pMRp4MQILA"8clientURLBase="http://localhost:3000/"9clientSecret="uhovwZQga"10/>11...12</div>13);14}
Access all the APIs from T-Mobile Assistant in your React application
1pnpm install @tmobile-assistant/react
1export default function Page(): JSX.Element {2return (3<TMobileProvider>4...children5</TMobileProvider>6);7}89// Access the following...10const { instance, TMCore, TMCall, subscribeToCore, subscribeToCall } = useTMobile();1112// Core SDK library functions13instance.startApp()14instance.userSignIn()15instance.getActiveCall()1617// Reactive State Management18const coreState = TMCore.getState()19coreState.connectionStatus20coreState.networkConnection2122// Call State Management23const callState = TMCall.getState()24callState.activeLine25callState.call.end()2627// Listeners28subscribeToCore((state) => { ... })29subscribeToCall((state) => { ... })30