# Configure Endpoints

In the example we are working on, we would like the chatbot to interact with our leave management system to apply for the leave on behalf of the user. For this, it needs to interact with an API Endpoint ( or a spreadsheet) to *\_mark\_* the leave application with the details provided by the user.

\
The *\_endpoints\_* need to be defined and registered with the Dhee.AI system before being consumed by our workflow. This could be done using the *\_IntentsAndAutomation->BackendAPI\_* section.

![Configure endpintso](https://2566128011-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUn1oKrw7P8P5qiTjWXjv%2Fuploads%2FhEg3QvcP0kmlujRIVv4Q%2Fconfigure-api.JPG?alt=media\&token=e8ecc1d8-72f2-4be6-978d-4292541e54cf)

Use the '+' Button to register a new endpoint. You would be required to provide

* **Url Name** : *An unique string to identify the endpoint.*
* **Uri** : *The actual Uri of endpoint*
* **Username** : *Username to use to access the Uri*
* **Password** : *Password to use to access the Uri.*
