# Issue with enabling AI for the Discourse Ask AI theme

**URL:** https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651
**Category:** Support
**Tags:** ai
**Created:** [October 13, 2024, 9:35am UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651 "2024-10-13T09:35:48Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Sidi\_Codet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidi_codet/32/455699_2.png) [@Sidi\_Codet](https://meta.discourse.org/u/Sidi_Codet)
#### Post date: [October 13, 2024, 9:35am UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/1 "2024-10-13T09:35:48Z")

</div>

I’m having trouble with this. I’m using the Ask Discourse Theme, and I’ve enabled the AI plugin and configured the AI settings. However, it’s still not working when I input the query just similar as [https://ask.discourse.com](https://ask.discourse.com) Here’s the affected site: [https://nal-ai.discourse.group](https://nal-ai.discourse.group)

![](https://media.tenor.com/uyKpvMZ2jPAAAAAC/link-neal-oh-i%27m-so-tired.gif)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [October 13, 2024, 1:49pm UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/2 "2024-10-13T13:49:55Z")

</div>

> [@Sidi\_Codet](#):
>
> I’m using the Ask Discourse Theme

While the Ask theme is open source, like most things we do, it is not (yet) an #official theme we created for people to re-use in their personal websites, as the Ask site is still in it’s early days and under constant iteration.

---

<div class="post-metadata">

### Author: ![Sidi\_Codet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidi_codet/32/455699_2.png) [@Sidi\_Codet](https://meta.discourse.org/u/Sidi_Codet)
#### Post date: [October 13, 2024, 8:07pm UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/3 "2024-10-13T20:07:22Z")

</div>

ok thanks!

---

<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: [October 13, 2024, 10:59pm UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/4 "2024-10-13T22:59:12Z")

</div>

A big piece here is that the theme relies on users being logged in.

Communicating with AI as anonymous comes with extreme amount of risk you need to mitigate, you have nobody to monitor or ban if they get out of control.

To achieve that on ask we force login on the site and authenticate via [meta.discourse.org](http://meta.discourse.org) using [discourse connect](https://meta.discourse.org/t/13045?silent=true).

I would be happy to have a quick look at your site once you have that configured. I think the ask use case is super compelling.

---

<div class="post-metadata">

### Author: ![Sidi\_Codet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidi_codet/32/455699_2.png) [@Sidi\_Codet](https://meta.discourse.org/u/Sidi_Codet)
#### Post date: [October 14, 2024, 7:33am UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/5 "2024-10-14T07:33:43Z")

</div>

Just did that , but they seem to be an error , [https://ask.naliss.com.ng](https://ask.naliss.com.ng)

---

<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: [October 14, 2024, 9:23am UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/6 "2024-10-14T09:23:15Z")

</div>

You need to only allow logged on users on that site

---

<div class="post-metadata">

### Author: ![Sidi\_Codet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidi_codet/32/455699_2.png) [@Sidi\_Codet](https://meta.discourse.org/u/Sidi_Codet)
#### Post date: [October 15, 2024, 8:08am UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/7 "2024-10-15T08:08:46Z")

</div>

I’ve already tried that, but it doesn’t seem to be working. Could you please provide a guide or help me identify what I might be doing wrong? Thank you.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [October 15, 2024, 8:13am UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/8 "2024-10-15T08:13:13Z")

</div>

To allow only logged-in users on the site, you need to enable the `login required` site setting.

---

<div class="post-metadata">

### Author: ![Sidi\_Codet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidi_codet/32/455699_2.png) [@Sidi\_Codet](https://meta.discourse.org/u/Sidi_Codet)
#### Post date: [October 15, 2024, 8:18am UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/9 "2024-10-15T08:18:53Z")

</div>

As at this moment I am logged out already, and can’t even log in myself

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [October 15, 2024, 8:20am UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/10 "2024-10-15T08:20:41Z")

</div>

You can use /u/admin-login  
[https://ask.naliss.com.ng/u/admin-login](https://ask.naliss.com.ng/u/admin-login)

---

<div class="post-metadata">

### Author: ![Sidi\_Codet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidi_codet/32/455699_2.png) [@Sidi\_Codet](https://meta.discourse.org/u/Sidi_Codet)
#### Post date: [October 15, 2024, 8:22am UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/11 "2024-10-15T08:22:40Z")

</div>

Just logged in, and I also just enabled the `login required`

---

<div class="post-metadata">

### Author: ![Sidi\_Codet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidi_codet/32/455699_2.png) [@Sidi\_Codet](https://meta.discourse.org/u/Sidi_Codet)
#### Post date: [October 15, 2024, 8:27am UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/12 "2024-10-15T08:27:11Z")

</div>

Same error, when clicked on login

 ![The image shows a computer screen displaying a text conversation with a series of messages indicating an unresolved technical issue. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/4/c/6/4c6dbd7fc7ec2729d52c55f26f83dff37ab6ef33.png)

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [October 15, 2024, 8:45am UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/13 "2024-10-15T08:45:29Z")

</div>

I’m not sure that configuring SSO with Meta is the best solution for your use case. It makes sense for ask.discourse, where users can benefit from having a unified account. However, I’m not convinced that it’s necessary for your users to create an account here.

---

<div class="post-metadata">

### Author: ![Sidi\_Codet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidi_codet/32/455699_2.png) [@Sidi\_Codet](https://meta.discourse.org/u/Sidi_Codet)
#### Post date: [October 15, 2024, 9:53am UTC](https://meta.discourse.org/t/issue-with-enabling-ai-for-the-discourse-ask-ai-theme/330651/14 "2024-10-15T09:53:13Z")

</div>

oh that was a test, just changed it. but please its not working . when user are logged in on [naliss.discourse.group](http://naliss.discourse.group) then visting should logged them directly to [Naliss AI](https://ask.naliss.com.ng)
