https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
q

quiet-spring-78839

09/07/2023, 5:01 PM
Hi y'all! We just set up Growthbook and we are really excited! I tried to set up the Chrome browser extension but I'm getting errors in the console and the extension doesn't open:
GET <https://cfrp-growthbook-msinfra-gitlab-bot-test.wattbuy.com/sub/sdk-xr00JmwSfLVE60DD> net::ERR_QUIC_PROTOCOL_ERROR 200
The extension asks for the API host and the API secret. Should I be using the SDK connection host and client key? Or setting up an API key?
s

swift-helmet-3648

09/07/2023, 5:48 PM
Hi @quiet-spring-78839 You must be using an older version of our self-hosted app ... You'll need to generate an API key for that to work. However, if you update to latest, that flow has been eliminated to be completely streamlined with no API key generation necessary.
q

quiet-spring-78839

09/07/2023, 5:49 PM
Huh. I don't think we are self-hosting. We are on the free plan, though.
s

swift-helmet-3648

09/07/2023, 5:50 PM
That's weird. Can you relay to me the version of your Chrome Extension then?
q

quiet-spring-78839

09/07/2023, 5:50 PM
0.3.1
s

swift-helmet-3648

09/07/2023, 5:51 PM
Could you send me a screenshot of where the extension is asking for the API host and key?
q

quiet-spring-78839

09/07/2023, 5:51 PM
Yeah!
s

swift-helmet-3648

09/07/2023, 5:51 PM
Thank you
q

quiet-spring-78839

09/07/2023, 5:51 PM
I go to Options there
and it takes me here
s

swift-helmet-3648

09/07/2023, 5:53 PM
Ah, okay. Those are usually automatically set. And they are only used for the Visual Editor only. I would clear them out for now in your case. This is probably an improvement we can be clear about this in the modal..
q

quiet-spring-78839

09/07/2023, 5:54 PM
Ohhhh ok. Strange. Well, when I don't have them, the extension also doesn't work. Should it render as a sidebar on the site if things are working correctly?
s

swift-helmet-3648

09/07/2023, 5:55 PM
The sidebar is the Visual Editor. That can only be opened from a GrowthBook experiment page
q

quiet-spring-78839

09/07/2023, 5:55 PM
Ohhhh
s

swift-helmet-3648

09/07/2023, 5:55 PM
The Devtools feature is in the Chrome Devtools panel, which you'll have to open up
q

quiet-spring-78839

09/07/2023, 5:55 PM
Ohhhhhhhh
oh!
I see it!
s

swift-helmet-3648

09/07/2023, 5:56 PM
Ok great
q

quiet-spring-78839

09/07/2023, 5:56 PM
Sorry I didn't understand that.
Thank you for the help!!!
🙌🏾 1
s

swift-helmet-3648

09/07/2023, 5:56 PM
No problem!
q

quiet-spring-78839

09/07/2023, 6:22 PM
@swift-helmet-3648 ok even though I found the location in the Chrome dev tools, it seems like we are unable to connect. I confirmed with my engineer that we are not doing self-hosted but are using a reverse proxy. Could that be related?
Another question from him:
"I wonder if I have to call loadFeatures to connect in the browser? I'm loading things server side and then just initializing growthbook in the client with the features we loaded on the server. So I never call
loadFeatures
. In case that matters."
Maybe that could be related?
s

swift-helmet-3648

09/07/2023, 6:31 PM
Yes, you'll need to call loadFeatures in the browser for DevTools to recognize the SDK
q

quiet-spring-78839

09/07/2023, 6:33 PM
Woot ok cool!
16 Views