> For the complete documentation index, see [llms.txt](https://docs.intelliticks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.intelliticks.com/how-to/how-to-send-data-to-chatbot-via-javascript.md).

# How to send data to chatbot via Javascript

1. Install chatbot script on your website.
2. Use the code similar to the given below which must be placed after the above script.

```
iticks.call('identify', {
    name:'Name', 
    email:'email@yopmail.com', 
    phone:'+919876543210',
    customField:'value'
})
```

None of the fields are required. name, email and phone has special meaning and they are set to the user's name, email, and phone fields. Other fields are saved as custom profile fields of the user who is browsing currently.
