CreateBlogSupport
Log inSign up
Home
Webex Contact Center
  • Overview
  • Guides
  • API REFERENCE
  • AI
  • Campaign Management
  • Configuration
  • Data
  • Desktop
  • Journey
  • Media And Routing
  • Changelog
  • SDK
  • Widgets
  • Customer Journey Data Service
  • AI Assistant for Developers
  • Webhooks
  • Contact Center Sandbox
  • Using Webhooks
  • Troubleshoot the API
  • Beta Program
  • Webex Status API
  • Contact Center Service Apps
  • FAQs

Webex Contact Center

StationLogin

The StationLogin component allows agents to perform station login and select the type of channel they want to use for establishing voice connections.

The StationLogin component provides a user interface for agents to log in to their contact center station and choose from different connection types:

  • Desktop: Uses WebRTC for voice communication
  • Extension: Allows using a softphone or a hardphone extension
  • Dial Number: Allows using a PSTN phone number

Look and feel:

When profile mode is not enabled

  1. 1-station-login.png
  2. 2-station-login.png
  3. 3-station-login.png
  4. 4-station-login.png

When profile mode is enabled

5-station-login.png

Note: When profile mode is enabled, you can change your StationLogin mode.

anchorImport

anchor
import { StationLogin } from '@webex/cc-widgets';

anchorProps

anchor
PropTypeRequiredDescription
onLogin() => voidNoCallback function triggered when login is successful
onLogout() => voidNoCallback function triggered when logout occurs
onCCSignOut() => voidNoCallback function triggered when contact center sign out occurs
onSaveStart() => voidNoCallback function triggered when save starts. This is for the profileMode
onSaveEnd(isComplete: boolean) => voidNoCallback function triggered when save ends. This is for the profileMode
profileModebooleanNoEnable or disable profile mode. Default: false
doStationLogoutbooleanNoWhether to perform station logout when the Signout button is clicked after station login. Default: true

anchorUsage Example

anchor
Profile Mode Enabled
<StationLogin profileMode={true} onSaveStart={handleSaveStart} onSaveEnd={handleSaveEnd} />
Profile Mode Disabled
<StationLogin
  profileMode={false}
  onLogin={onLogin}
  onLogout={onLogout}
  onCCSignOut={onCCSignOut}
  doStationLogout={true}
/>

Callback

const onLogin = () => {
  console.log('Login successful');
};

const onLogout = () => {
  console.log('Logged out');
};

const onCCSignOut = () => {
  console.log('CC Sign Out triggered');
};

const handleSaveStart = () => {
  console.log('Save start called');
};

const handleSaveEnd = (isComplete: boolean) => {
  console.log('Save end called: ', isComplete);
};

anchorConfiguration Notes

anchor
  • The allowMultiLogin option in the webex config works specifically for station login types "Extension" and "Dial Number". Please check the Quickstart Guide for the config.
  • The component requires proper initialization of the store before rendering
  • Make sure to wrap the component with ThemeProvider and IconProvider from Momentum Design
In This Article
  • Import
  • Props
  • Usage Example
  • Configuration Notes
Related Resources
  • Kitchen Sink Demo
  • Widgets Changelog

    Connect

    Support

    Developer Community

    Developer Events

    Contact Sales

    Handy Links

    Webex Ambassadors

    Webex App Hub

    Resources

    Open Source Bot Starter Kits

    Download Webex

    DevNet Learning Labs

    Terms of Service

    Privacy Policy

    Cookie Policy

    Trademarks

    © 2026 Cisco and/or its affiliates. All rights reserved.