After you have created an AI chatbot by following the steps mentioned here, you can configure it in your flow by using the "AI Chatbot" component from the functions menu.
Name: User friendly name for the AI Chatbot Component
Select Chatbot - From the dropdown, select the chatbot you built.
Reply Timeout - The time for which the bot should wait for a response from the user.
The steps to configure the AI Chatbot Component are mentioned here.