# Discourse AI + Google Search: website + forum | Is this correct?

**URL:** <https://meta.discourse.org/t/discourse-ai-google-search-website-forum-is-this-correct/275963>\
**Category:** Support\
**Tags:** ai, ai-bot\
**Created:** [August 21, 2023, 12:48am UTC](https://meta.discourse.org/t/discourse-ai-google-search-website-forum-is-this-correct/275963 "2023-08-21T00:48:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [August 21, 2023, 1:22am UTC](https://meta.discourse.org/t/discourse-ai-google-search-website-forum-is-this-correct/275963/2 "2023-08-21T01:22:56Z")

</div>

> [@janbolmeson](#):
>
> Can I deduce it used the `ai_google_custom_search_api_key` correctly?

Everything is 100% (sort of easily) debuggable. If you install [data explorer](https://meta.discourse.org/t/32566?silent=true) you can see the actual JSON payload we injected in the prompt stream. The table `ai_api_audit_logs` contains the exact prompt we generated.

My original use case for Google was just to allow it to search everywhere, not restrict it down. That said, I think you can manage to get something working here. We may need though to adjust the prompt a bit to understand that this this google search is restricted. We may need an extra setting for it.

---

_[View the full topic](https://meta.discourse.org/t/discourse-ai-google-search-website-forum-is-this-correct/275963)._
