# Help Setting up Cloudflare Bouncer for Home Assistant

**URL:** <https://discourse.crowdsec.net/t/help-setting-up-cloudflare-bouncer-for-home-assistant/2244>\
**Category:** crowdsec\
**Created:** [January 5, 2025, 3:45pm UTC](https://discourse.crowdsec.net/t/help-setting-up-cloudflare-bouncer-for-home-assistant/2244 "2025-01-05T15:45:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeekB1983](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@DeekB1983](https://discourse.crowdsec.net/u/DeekB1983)\
**Post date:** [January 5, 2025, 3:45pm UTC](https://discourse.crowdsec.net/t/help-setting-up-cloudflare-bouncer-for-home-assistant/2244/1 "2025-01-05T15:45:01Z")

</div>

I am having issues getting Crowdsec working with Home Assistant and I am looking for some help or guidance on what the problem could be.

I am running Home Assistant O\S, latest version.

My Home assistant is hosted behind my own domain\subdomain using a cloudflare tunnel to access.

I installed the Crowdsec add on and have generated the API via the cordsec console window, I then installed the crowdsec cloudflare bouncer, I put the API url and API key into the bouncer.

Further down it requests 3 fields from cloudflare which are account ID, Zone ID and APi Key, I got these details by logging into cloudflare, I am using the global API Key.

Whyen I start the crwsec cloudflare bouncer up it fails to start and gets stuck in a loop, the log is writing the following information:

 ![ShareX_kE59wcpRrr](https://europe1.discourse-cdn.com/flex013/uploads/crowdsec/original/2X/3/302dff1e00e42f57954b258b46ec16c7d2082ab7.jpeg)

Had a read online and there is an indication that the API key could be the issue but I have verified the details and fields multiple times and they are correct so not sure what is going wrong which is why I have arrived here for some help!
