Setting up the IVA for Android app messaging
Enable users to interact with Pega Intelligent Virtual Assistant™ (IVA) from a native Android app by using Pega Mobile Messaging SDK. As a result, you make your mobile app user experience seamless and more interactive.
For example, users can use your Android app to quickly interact with a chatbot that provides support for a financial organization, helping them to resolve issues with loan applications.If your security team requires JSON Web Token (JWT) authentication for communication between your IVA for Digital Messaging and social messaging platforms, you can configure this alternative security method for your channel. JWT authentication is an industry-standard method that permits the sender to sign a request with a unique token that the receiver later verifies to ensure that the obtained request is valid and that the token did not expire.
- In the navigation pane of App Studio, click Channels.
- In the Current channel interfaces section, click the icon that represents your existing Digital Messaging channel.
- In the Digital Messaging channel, click the Connection tab.
- Click Manage connections.
- In the Digital Messaging Manager window, click Add Connection, and then click the Android App Messaging icon.
- On the General tab, in the Name field, enter a name for the Android App Messaging connection.
- Click Save.
- Optional: To configure the chat context data to display to CSRs when they interact with
users:
- Click the Context data tab.
- In the General information section, select the
context data to capture during interaction with a user:
Context data Description IP address The IP address of the mobile device. Location The physical location of the mobile device based on GPS settings. Device/OS The mobile operating system and device type. - Click Save.
- Optional: To configure security options for Android app messaging:
- Click the Security tab.
- Optional: To sign requests during communication between IVA for Digital Messaging and your Android app, in the
JWT Secret section, click Show JWT
Secret, and then use this key for your token during JWT
authentication.You select the JWT authentication method for the Digital Messaging channel in the application rule. For more information, see Configuring Digital Messaging channel security.
- Click the Installation tab.
- Copy the generated values for Api id and Api url to a file.
- Click Download Android SDK to download Pega Mobile Messaging SDK for Android to your computer.Pega Mobile Messaging SDK helps you embed web messaging in your native Android app.
- Optional: To configure the ability to receive messages in your Android app when a user is
away:
Previous topic Best practices when using an IVA for WhatsApp Next topic Setting up the IVA for iOS app messaging