---
title: "Service Worker Integration"
slug: "service-worker-integration"
description: "Web Push channel setup guide. Configure and integrate web push notifications for your site using Insider One. Includes service worker setup."
tags: ["service worker", "service worker integration", "service worker requirements", "service worker with shopify", "web push integration", "web push setup"]
updated: 2026-04-16T08:39:37Z
published: 2026-04-16T08:39:37Z
canonical: "academy.insiderone.com/service-worker-integration"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Service Worker Integration

After you complete the [Opt-in Configuration](/v1/docs/web-push-channel-opt-in-configuration) step, continue with the Service Worker Integration step to set up the Web Push channel.

> [!NOTE]
> If your opt-in type is Custom opt-in, the Service Worker is integrated via Insider One API. You can continue with the Setup Confirmation step.
> 
> ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-CLC7U9T2.png)

If your opt-in type is Native Opt-in, you continue with the Service Worker integration.

### Single Domain

To integrate the Service Worker when you have a single domain,

![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-HNP906R2.png)

1. Download the Service Worker File and integrate it into your file manager. We recommend proceeding with this file to avoid potential errors.

<editor360-custom-block data-preprocessing="true" data-sanitizationtags=""><div class="file-view" contenteditable="false" translate="no" data-type="attachment-content"><span class="type type_9"></span><div class="file-Name" data-type="attachment-content" title="insider-sw-sdk.js"><a href="https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/insider-sw-sdk.js" rel="noopener">insider-sw-sdk.js</a></div></div></editor360-custom-block>

1. Enter the Service Worker Path for the subpath or the root domain.
2. When you have entered all the necessary information, use the checklist to verify that all configurations are complete. Then, click the **Next** button to finalize the setup.

![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-W992O4Y0.png)

### Multiple Domains

To integrate the Service Worker when you have multiple domains,

1. Download the Service Worker File and integrate it into your file manager. We recommend proceeding with this file to avoid potential errors.
2. Select the domains that you add to your Service Worker file.
3. Enter the Service Worker Path for the subpath or the root domain. Remember to add the Service Worker to the same path for all the domains.

![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-1733816640421.png)
4. When you have entered all the necessary information, use the checklist to verify that all configurations are complete. Then, click the **Next** button to finalize the setup.

> [!NOTE]
> When you install Insider One on your Shopify store, Insider Service Worker is automatically installed in the background on the */apps/insider/insider-sw-sdk.js* path. Go to **Web Push** > [**Web Push Settings**](/v1/docs/web-push-settings) > **Setup Settings** to configure this custom path for your account.
