FACEBOOK CONFIGURATION

The facebook configuration guide of following topics:

Create a Facebook account for the Bank

  1. Login to Facebook with credentials.
  2. Create a new page.

Chatbot Configuration

  1. Navigate to developer link and create an application as shown below.

Chatbot Configuration

  1. Navigate to dashboard page and note the app secret.

Chatbot Configuration

  1. Navigate to Messenger > Settings page from left panel and in token generation section select the page created previously. Note the page access token.

Chatbot Configuration

  1. In the webhook section select the events.

Chatbot Configuration

  1. Navigate to Webhook > Edit Subscription.

Chatbot Configuration

  1. Add the IBCS URL here.
    IBCS URL should be available on the internet for Facebook to get access. This URL is obtained from below screen in IBCS. The verify token is also obtained here

Chatbot Configuration

IBCS Configurations

  1. Login to IBCS and import the OBDX bot shipped with OBDX installer. This is a zip (OBDX182.zip) file obtained in the installer in OBDX_Installer/installables/chatbot/config directory. Import this by clicking the “Import Bot” on IBCS dashboard.

Chatbot Configuration

  1. Click on the OBDX Bot.

Chatbot Configuration

  1. Update the Page access token and App Secret created previously in Facebook console.
  2. Navigate to Webhook and enter the OBDX URL here. The OBDX setup and the IBCS setup must be accessible over Internet.

Chatbot Configuration

  1. Add username/password (in HTTP Basic authorization) of any user with Administrator role which can be used to login in OBDX Weblogic server.

OBDX Server Configurations

Ensure that below applications are running on OBDX server

Chatbot Configuration

In chatbot.properties in com.ofss.digx.chatbot.ear > com.ofss.digx.chatbot.jar, enter the base URL of the OBDX server where DIGX application is running.

Note: Enter the Weblogic port. If using OHS, that should not be patched with Webgate

If the server needs proxy to connect to internet, enter proxy details here else leave them blank. This call is required for the chatbot to display the typing.. icon in chat. The connection is directly from OBDX Chatbot application to Facebook. The access token of the Facebook page is also required here (which is generated on Facebook console in step 3e).

Chatbot Configuration

Redeploy the ear after above changes.

Verification Steps

  1. Check if OBDX server Chatbot application is running and accessible over the component URL given to IBCS. Open a browser and enter the URL as entered in IBCS component services.

Chatbot Configuration

  1. Login to IBCS and click OBDXBot > Test.

Chatbot Configuration

Enquire about account balance

  1. Login to Facebook > Navigate to the page and click > Send message.

Chatbot Configuration

  1. Click Get Started in the chat window > You should receive welcome message from IBCS.
  2. Enquire about account balance > OTP should be received on the registered email address of the party in core banking.

Chatbot Configuration

Back