# Where is the host identifier?

**URL:** <https://discuss.elastic.co/t/where-is-the-host-identifier/230779>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [May 2, 2020, 12:45am UTC](https://discuss.elastic.co/t/where-is-the-host-identifier/230779 "2020-05-02T00:45:51Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![A\_Tran](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@A\_Tran](https://discuss.elastic.co/u/A_Tran)\
**Post date:** [May 4, 2020, 3:36pm UTC](https://discuss.elastic.co/t/where-is-the-host-identifier/230779/9 "2020-05-04T15:36:22Z")

</div>

Im just trying to connect by python following the git example, but im getting an error:

from elastic\_app\_search import Client  
import requests  
import jwt

client = Client(base\_endpoint='[https://20becbeexxxx.app-search.us-east-1.aws.found.io/api/as/v1](https://20becbeexxxx.app-search.us-east-1.aws.found.io/api/as/v1)', api\_key='private-xxxx', use\_https=True)  
engine\_name = 'dequienescl'  
document = {  
'id': 'INscMGmhmX4',  
'body': 'A wonderful video of a magnificent cat.'  
}  
client.index\_document(engine\_name, document)  
{'id': 'INscMGmhmX4'}

---

_[View the full topic](https://discuss.elastic.co/t/where-is-the-host-identifier/230779)._
