## 🔧Installation
### Allowing Callmebot to message a WhatsApp number
send a new Whatsapp Message to the number `+34 644 21 78 06` contianing the sentence: `I allow callmebot to send me messages`
note down the `API Key` (7 numbers) that callmebot sends as a response
### Adding the Callmebot Integration into Homeassistant
#### Installing the Integration
Installation of the callmebot Integration is simply done by adding it to the main `configuration.yaml` file, using e.g. the Studio Code Server Integration.
add the following yaml code to your `/config/configuration.yaml` file(for 2 Numbers, add any count of numbers you want):
```yaml
# Callmebot integration
notify:
- name: WhatsApp_Person1
platform: rest
resource: https://api.callmebot.com/whatsapp.php
data:
source: HA
phone: +49<Phone number>
apikey: <API Key>
- name: WhatsApp_Person2
platform: rest
resource: https://api.callmebot.com/whatsapp.php
data:
source: HA
phone: +49<Phone number>
apikey: <API Key>
```
Restart Homeassistant for the configuration file to reload.
#### Test the Integration
Create a new Test Automation to check if Homeassistant notifications can be sent through the Signal API:
```yml
alias: Test Whatsapp
description: ""
triggers: []
conditions: []
actions:
- action: notify.whatsapp_Person1
metadata: {}
data:
message: test
- action: notify.whatsapp_Person2
metadata: {}
data:
message: test
mode: single
```
You should be able to receive notifications via whatsapp from Homeassistant now!
## 🔗Resources
- https://www.callmebot.com/blog/whatsapp-text-messages-from-homeassistant/