# Set the scene for chat building

# Wait for Chat (RWC)

Building the RWC always begins with the Wait for Chat (RWC) Gateway Step (opens new window) template. It generates the chat ID and the chat URL for a user to be able to access the chat via this URL. Wait for Chat (RWC) starts a conversation once a user opens a chat URL and finishes it once the Flow reaches its end. Unless you configure it to control the conversation end manually. In this case, End Conversation (RWC) Step template comes in handy. Starting and ending a conversation is necessary because message exchange happens in the conversation.

The Step template provides numerous settings for all aspects of how your chat and its embedded version will look. If you need something on top of those settings, customize its appearance using CSS in the Step template. A code block for chat embedding is also available here.

Once your chat URL, appearance, conversation beginning and ending are all set, you can focus on the chat content.

Last Updated: 8/9/2023, 6:22:12 PM