Skip to main content

Fin Messenger: Enabling user verification in Salesforce

How to enable user verification in Salesforce Enhanced Chat.

Updated over 3 weeks ago

Enabling user verification for enhanced chat enables persisting secure messaging history across multiple devices. This also tackles issues when the customer has multiple tabs and browser windows. User verification allows Fin to treat each user session consistently and so is required as part of getting the Fin Messenger channel set up.


How to enable user verification

  1. Open "Enable User Verification".

  2. Download the JSON Web Key (JWK) for your workspace.

    • This will download a file named fin-ai-jwk.json keep this safely as you will need to upload it in a following step.

    • The file is unique for your workspace.

  3. Go to Salesforce > Setup > Enhanced Chat User Verification, click New Key.

  4. Enter a Name and API name of your choosing. Upload the JWK and click Save.

  5. Go to Salesforce > Setup > Enhanced Chat User Verification, click New Keyset.

  6. Enter a Name and API Name of your choosing. Important: Remember to set the JSON Web Key Issuer to fin.ai. Select the JWK saved in step 4 and hit Save.


  7. Go to Salesforce > Setup > Messaging Settings, click the dropdown listed for the channel linked to your Embedded Service Deployment and click Edit.


  8. Enable the Add User Verification and hit Save.

  9. Go to Salesforce > Setup > Messaging Settings once again, click on the name of the channel linked to your Embedded Service Deployment.

  10. Scroll to "User Verification Configuration" and click New.

  11. Select the Keyset from step 6, enter a name and click Save.

  12. Go back to Deploy > Fin Messenger > Connect, open the "Enable User Verification" section and hit Verify User Verification.

  13. Once confirmed, the section will be marked as completed.

  14. You may now test the Fin Messenger. Fin will handle generating a JWT and verifying users that open up messenger to start a conversation.


FAQs

Can I use my own JSON Web Key (JWK)?

  • We strongly recommend using our JWK as we handle JWT generation when the existing token has expired.

  • However, if you prefer to use your own JWK, follow these instructions to verify your users. Once enabled, you need to verify that the user verification is enabled by clicking the button below.

Where can I find the channel name for my Embedded Service Deployment?

  • Go to Salesforce > Setup > Embedded Service Deployments, click the dropdown listed for your deployment and hit Edit.

  • This will open a dialog that lists your Messaging Channel.

Did this answer your question?