www/apps/bloom/app/features/integrations/guides/cookiebot/page.mdx
import { InProductAction, getOsShortcut, InlineIcon } from "docs-ui" import { ArrowUpRightOnBox } from "@medusajs/icons"
export const metadata = {
title: Cookiebot Integration,
}
Add Cookiebot to manage customer consent and comply with privacy regulations like GDPR and CCPA.
Cookiebot displays a consent banner to customers and manages their cookie preferences automatically. Bloom sets it up for you in minutes.
Integrate Cookiebot if you want to:
Before adding Cookiebot, you need a Cookiebot account and a domain group ID.
To get your Cookiebot domain group ID:
data-cbid="YOUR-ID-HERE").You'll need this ID when Bloom asks for it.
To add Cookiebot using the <InProductAction product={"bloom"} type={"MEDUSA_AI_OPEN_PANE"} data={{ pane: "integrations" }}>Integrations</InProductAction> panel:
Bloom will start setting up Cookiebot and ask you for your configuration details.
After you click "Build," Bloom asks questions to configure Cookiebot:
Bloom stores your credentials as environment variables in your store. They're never exposed in your code or logs. See Environment Variables for more details.
</Note>Bloom will add the Cookiebot script to your store and configure it based on your answers.
After Bloom finishes the setup, you can test the Cookiebot integration in your store.
The banner won't appear in the preview. Instead, click the <InlineIcon Icon={ArrowUpRightOnBox} alt="Open Store Preview" /> button in the bottom toolbar to open your store in a new tab.
The consent banner should appear after the page loads. Test the different cookie preferences and verify that your choices are saved correctly.
If you want to make changes to the banner styling, you can customize it in your Cookiebot dashboard. Changes will be reflected in your store automatically since Bloom uses the same domain group ID for both preview and live environments.
Once you've tested Cookiebot and it's working correctly, publish your store to make it live.
To publish your Cookiebot integration:
Your Cookiebot integration is now active on your live store. Customers will see the consent banner and can manage their cookie preferences.
<Note title="Verify Your Domain">After publishing, verify your live domain in your Cookiebot dashboard to ensure the integration works correctly on your production site.
</Note>If you face any issues while adding Cookiebot to your Bloom store, contact support or submit feedback.