Setting up the IVA for iOS app messaging
Ensure that users can message with Pega Intelligent Virtual Assistant™ (IVA) from a native iOS app by using Pega Mobile Messaging SDK. As a result, you make your mobile app user experience seamless and more interactive.
Users can instantly interact with the chatbot from your iOS app to get support with a car rental service, for example, to request more information about the availability of cars in a city.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 iOS App Messaging icon.
- On the General tab, in the Name field, enter a name for the iOS 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 the device type. - Click Save.
- Optional: To configure security options for iOS app messaging:
- Click the Security tab.
- Optional: To sign requests during communication between IVA for Digital Messaging and your iOS 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 iOS SDK to download Pega Mobile Messaging SDK for iOS to your computer.Pega Mobile Messaging SDK helps you embed web messaging in your native iOS app.
- Optional: To configure the ability to receive messages in your iOS app when a user is
away:
Previous topic Setting up the IVA for Android app messaging Next topic Setting up the IVA for Client Channel API