# Add sources to Elasctic WorkPlace search

**URL:** <https://discuss.elastic.co/t/add-sources-to-elasctic-workplace-search/251327>\
**Category:** Elastic Search\
**Tags:** elastic-workplace-search\
**Created:** [October 7, 2020, 5:39pm UTC](https://discuss.elastic.co/t/add-sources-to-elasctic-workplace-search/251327 "2020-10-07T17:39:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [October 7, 2020, 5:39pm UTC](https://discuss.elastic.co/t/add-sources-to-elasctic-workplace-search/251327/1 "2020-10-07T17:39:58Z")

</div>

Hello,  
I am trying to add a google drive sources for indexing my documents in workplace search.  
I want to use My Ip localhost, but I do not how to write it in the OATH credential because google does not allow me to do it.  
It is asking me for a valid domain and I am a bit lost here.

I am using an Ubuntu 20.04.01 and the elastic version 7.9.2  
Thank you very much.

---

<div class="post-metadata">

**Author:** ![Sean\_Story](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sean_story/32/69987_2.png) [@Sean\_Story](https://discuss.elastic.co/u/Sean_Story)\
**Post date:** [October 7, 2020, 6:18pm UTC](https://discuss.elastic.co/t/add-sources-to-elasctic-workplace-search/251327/2 "2020-10-07T18:18:49Z")

</div>

Hi @JorgeL-TI! Thanks for trying out Workplace Search!

Are you following the instructions for creating an OAuth App for Google Drive [here](https://www.elastic.co/guide/en/workplace-search/current/workplace-search-google-drive-connector.html)? Step 12 shows examples for configuring your OAuth app to hit a Workplace Search that is running on `localhost`, and we use this approach for our daily testing and development without issue. If you're following that step and still having an issue, can you share any more details about what page you're on in the Google Console, what the exact error message is, etc?

---

<div class="post-metadata">

**Author:** ![JorgeL-TI](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JorgeL-TI](https://discuss.elastic.co/u/JorgeL-TI)\
**Post date:** [October 8, 2020, 5:35pm UTC](https://discuss.elastic.co/t/add-sources-to-elasctic-workplace-search/251327/3 "2020-10-08T17:35:41Z")

</div>

Hello, thank you for your answer

The thing is that when you create a credential (I have to choose external because I am not an organization) I am having problems writing the IP direction and the domain.

I send you a screenshot of my screen: [https://gyazo.com/93ac55c83ca932472bd252a6be27e300](https://gyazo.com/93ac55c83ca932472bd252a6be27e300)

Thank you very much

---

<div class="post-metadata">

**Author:** ![Sean\_Story](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sean_story/32/69987_2.png) [@Sean\_Story](https://discuss.elastic.co/u/Sean_Story)\
**Post date:** [October 8, 2020, 7:39pm UTC](https://discuss.elastic.co/t/add-sources-to-elasctic-workplace-search/251327/4 "2020-10-08T19:39:23Z")

</div>

@JorgeL-TI, I don't think you need to fill out that section of the Consent Screen form. I'm able to just leave those blank and still connect just fine using localhost.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 31, 2022, 2:48am UTC](https://discuss.elastic.co/t/add-sources-to-elasctic-workplace-search/251327/5 "2022-10-31T02:48:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
