{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":5122,"path":"conversational-interfaces/virtual-agent/set-up-msg-auth-va-cccif.md","title":"Set up message authentication for your custom chat configuration","bundle":null,"doc_type":null,"release":"australia","body":"\n# Set up message authentication for your custom chat configuration\n\nCreate a Hash Message Verification record and Message Auth record to set up message authentication for your custom chat integration. This is configured in the Hash Message Verifications \\[hash\\_message\\_verification\\] table.\n\n## Before you begin\n\n[Configure a provider for your custom chat integration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/create-provider-va-cccif.md).\n\nRole required: admin\n\n## About this task\n\nYou can create a Hash Message Verification record and Message Auth record to set up message authentication.\n\n## Procedure\n\n1.  Navigate to **All**, and then enter `hash_message_verification.list` in the filter.\n\n2.  On the Hash Message Verifications page, click **New**.\n\n3.  On the form, fill in the fields.\n\n    |Field|Description|\n    |-----|-----------|\n    |Name|Name of the authentication token, such as TwilioSMSTestAppAuthToken.|\n    |Description|Description of the authentication token, such as \"Twilio SMS Testing application Auth Token.\"|\n    |Secret|Authentication token \\(random string\\).|\n\n4.  Click **Submit**.\n\n5.  Navigate to **All**, and then enter `message_auth.list` in the filter.\n\n6.  On the Message Auths page, click **New**.\n\n7.  On the form, fill in the fields.\n\n    |Field|Description|\n    |-----|-----------|\n    |Name|Name of the message authentication, such as VA Twilio SMS Test App Message Authentication.|\n    |Provider|Provider, such as Twilio.|\n    |Group name|Name of the group or team of the provider channel.|\n    |Service Portal|Option to redirect users to a service portal for authentication during account linking.|\n    |Inbound message verification|Hash message token that was created.|\n    |Outbound message creation|Hash message token that was created.|\n    |Outbound service token|Token passed to the sender subflow that is used to invoke REST endpoint for the chat client. Use the outbound token to send a message using the REST API.|\n\n8.  Click **Submit**.\n\n\n## What to do next\n\n[Create a channel identifier for your custom chat integration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/create-channel-id-va-cccif.md)\n\n**Parent Topic:**[Create a Virtual Agent conversational custom chat integration](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/create-adapter-for-virtual-agent.md)\n\n"}}