# Export/Import

If you want to create a new chatbot that is similar to an existing chatbot, export the existing chatbot and import it as a new chatbot. You can then modify the imported chatbot to meet your requirements.

Export-import reduces the time taken to create the chatbot because you do not need to create from scratch.

There is no limit to the number of times you can export-import a chatbot.

## Permissions [#permissions]

You do not need to have a specific [user role](https://www.infobip.com/docs/answers/administration#user-roles) to export a chatbot. To import a chatbot, you must have either the **Manager** or **Designer** role.
  
All Answers [plans](https://www.infobip.com/docs/answers#plans) support export and import.
  
## Export [#export]

### Prerequisites [#prerequisites-export]

You can export a chatbot only if has been validated by Answers and is error-free. This reduces the possibility of errors when importing the chatbot.

### Guidelines [#guidelines-export]

When you export a chatbot, the following guidelines and conditions apply:

- Exported chatbots are in human-readable format. You can search the content and modify it to meet your requirements.
- Exported chatbots retain the following:
    - [Intents](https://www.infobip.com/docs/answers/ai-chatbots/intents)
    - [Attributes](https://www.infobip.com/docs/answers/chatbot-structure/attributes)
    - [Dialogs](https://www.infobip.com/docs/answers/chatbot-structure/dialogs)
    - [Keywords](https://www.infobip.com/docs/answers/chatbot-structure/keywords)

### Export a chatbot [#export-the-file-export]
  
To export a chatbot, do the following:

1. Log on to the Infobip [web interface](https://portal.infobip.com//).
2. In the menu the left, go to **Answers** > **Chatbots**.
3. Select the three dots next to the chatbot that you want to export, and select **Export**.

The system checks if there are any errors in the chatbot. If there are no validation errors, the file is exported and stored on your local device.

## Import [#import]
  
### Prerequisites [#prerequisites-import]

- The file that you want to import must be in .export format.
- Configure other related systems such as Conversations and People before the import.
- If you import the chatbot to a different account, the target account must support the channel used in the exported chatbot. Example: If you export a WhatsApp chatbot from *Account A*, you can import the chatbot to *Account B* only if WhatsApp is enabled in *Account B*.

### Guidelines [#guidelines-import]

When you import a chatbot, the following guidelines and conditions apply:
  
- You cannot change the channel when you import the chatbot.
- You can import the chatbot either as a new chatbot in the same account or to a different account that supports the channel used in the exported chatbot.
- If the imported chatbot has conversation tags, the following happens:
    - Tags that already exist in the destination account are automatically mapped.
    - Tags that do not exist in the destination account are created based on the imported chatbot.

### Import the chatbot [#import-the-file-import]

1. Log on to the Infobip [web interface](https://portal.infobip.com//).
2. In the menu the left, go to **Answers** > **Chatbots**.
3. Select **Import chatbot**.
4. Go to the required file.
5. Select **Import**.  
    If the export file contains images, videos, or files, you can view the progress of the upload and can also cancel the upload.  
6. In the imported chatbot > **Settings** tab, do the following:
    1. **Chatbot name**: Specify a unique name for the chatbot.
    2. **Sender**: Select a sender.