[![](https://data.jsdelivr.com/v1/package/npm/botfuel-iris-webchat-client/badge)](https://www.jsdelivr.com/package/npm/botfuel-iris-webchat-client)
# Botfuel Answers webchat client

## Installation

In order to deploy a Botfuel Answers bot on your website, you need to:
- create an account on the [Botfuel Answers app](https://answers-app.botfuel.io),
- create a bot,
- copy the code snippet,
- paste it on your website.

### Distribution

We use the CDN of [jsDelivr](https://www.jsdelivr.com/package/npm/botfuel-iris-webchat-client) to distribute the webchat client code.

### Versioning

We rely on [Semantic Versioning](https://semver.org/) for versioning the webchat client.
The code snippet uses the latest version of the webchat client.

## Icons

For icons we use a font of icons generated on [Icomoon App](https://icomoon.io/app).

To update the icon list:
1. Go to https://icomoon.io/app
2. Click the "Import icons" button
3. Import the file `src/assets/fonts/selection.json`
4. Edit icons selection
5. Once the selection is ready to be downloaded go to "Generate font" tab (bottom right)
6. Click download and open archive
7. In `src/assets/fonts/` replace font files (.eot, .svg, .ttf, .woff) and selection.json by the new files

## License
See [LICENSE](LICENSE.md).
