# Create a chatbot from scratch  

This section gives an overview of the process to create a chatbot from scratch.

1. Log on to the [Infobip web interface](https://portal.infobip.com//).
2. In the menu on the left, go to **Answers** > **Chatbots**.
3. Select **New chatbot**.
4. Complete the following fields.
    - **Chatbot name**: Enter a name for the chatbot. Specify a unique name so that you can identify the chatbot.
    - **Channel**: Select the required channel.
    - **Sender**: Specify one or more senders that the chatbot uses to communicate with the end user. If you have only one sender, it is selected by default.  

        (**WhatsApp only**) To register a sender, select **Register WhatsApp number**.

        You can select the sender any time before you activate the chatbot.

        For more information about senders, refer to the [Sender](https://www.infobip.com/docs/answers/chatbot-settings#sender) documentation.
    - **Language**: Choose the chatbot language. You can create different chatbots for different languages.
5. Select **Create chatbot**. The chatbot editor opens at the **Dialog**s tab.
6. Based on the chatbot flow, create the required [dialogs](https://www.infobip.com/docs/answers/chatbot-structure/dialogs) and add [elements](https://www.infobip.com/docs/answers/chatbot-elements) to the dialogs.
7. (Optional) Add [attributes](https://www.infobip.com/docs/answers/chatbot-structure/attributes) to capture and store information.
8. Depending on the [type of your chatbot](https://www.infobip.com/docs/answers/chatbot-types), do the following.
    - [**Rule-based chatbot**](https://www.infobip.com/docs/answers/chatbot-types#rule-based-chatbots): Create [keywords](https://www.infobip.com/docs/answers/chatbot-structure/keywords). Refer to the example of creating a [simple chatbot](https://www.infobip.com/docs/answers/quickstart#build-a-simple-chatbot) and a [rule-based chatbot](create-keyword-chatbot).
    - **AI chatbot**: Add [intents](https://www.infobip.com/docs/answers/ai-chatbots/intents) and configure [natural language processing](https://www.infobip.com/docs/answers/ai-chatbots/nlp). For more information, refer to [AI chatbots](https://www.infobip.com/docs/answers/ai-chatbots).
    - **Integrated chatbot**: Integrate your chatbot with other Infobip solutions or with external solutions. For more information, refer to [Integrated chatbots](https://www.infobip.com/docs/answers/chatbot-types#integrated-chatbot-types-based-on-functionality) and [Integrations](https://www.infobip.com/docs/integrations).
    - **Secured chatbot**: Add [security options](https://www.infobip.com/docs/answers/chatbot-types#secured-chatbot-types-based-on-functionality) to the chatbot.
9. Configure the [chatbot settings](https://www.infobip.com/docs/answers/chatbot-settings).
10. Test the chatbot [in the simulator](https://www.infobip.com/docs/answers/simulate-the-conversation#simulator).
11. (WhatsApp and Open channel only) Test the chatbot [on your device](https://www.infobip.com/docs/answers/simulate-the-conversation#test-on-device) and simultaneously view the conversation flow live in Answers.
11. [Activate](https://www.infobip.com/docs/answers/activate-the-chatbot) the chatbot.
12. [View the analytics](https://www.infobip.com/docs/answers/analytics) for your chatbot.