# Installation Guide

As a Shopify Plus store, you must enable your `checkout.liquid` layout before installing Vigilance. Request `checkout.liquid` to be enabled from Shopify support [here](https://help.shopify.com/en/questions#/contact). Usually, Shopify resolves this in real time over chat.

If `checkout.liquid` is already enabled, skip this step.

### Add checkout.liquid to your theme

If access to `checkout.liquid` has been enabled, then you can follow the steps below to add the layout to your theme through the code editor in the Shopify admin:

**1.)** From your Shopify admin, go to Online Store > Themes.

**2.)** Find the theme you want to edit, and then click Actions > Edit code.

<figure><img src="https://1521733898-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeQJyVr13C5qkKoYFEHnx%2Fuploads%2Fnx8vD1RhQ4e5ucfqTcdw%2FScreenshot%202022-11-19%20at%2011.50.22%20AM.png?alt=media&#x26;token=80d1481f-f9a5-40ed-aa59-5db3fcc34826" alt=""><figcaption></figcaption></figure>

**3.)** In the Layout directory, click Add a new layout.

<figure><img src="https://1521733898-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeQJyVr13C5qkKoYFEHnx%2Fuploads%2FkfEhXEk4Vacrc1Pf9UNS%2FScreenshot%202022-11-19%20at%2011.50.52%20AM.png?alt=media&#x26;token=ce8c7de7-9ed0-4c56-a775-c5d73fd6860f" alt=""><figcaption></figcaption></figure>

**4.)** In the drop-down list, select checkout, and then click Create layout

<figure><img src="https://1521733898-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeQJyVr13C5qkKoYFEHnx%2Fuploads%2FNXXiVDEorWi7QWpV5lrm%2FScreenshot%202022-11-19%20at%2011.36.25%20AM.png?alt=media&#x26;token=2f1fec64-e1f7-457d-ab57-c7c01d65ef09" alt=""><figcaption></figcaption></figure>

You should now see `checkout.liquid` listed in the Layout directory.

### Add the Vigilance javaScript snippet to your checkout.liquid

You can add the `checkout.liquid` layout to your theme code by following these steps:

1.) From your Vigilance settings page, copy the provided snippet

<figure><img src="https://1521733898-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeQJyVr13C5qkKoYFEHnx%2Fuploads%2F0oinhfL4yrsYMNoIvO9x%2FScreenshot%202022-11-19%20at%2011.40.35%20AM.png?alt=media&#x26;token=bb0d9107-becc-4b0b-926f-6e1d19eafe01" alt=""><figcaption></figcaption></figure>

2.) Paste it just above the closing \</head> tag in checkout.liquid.

3.) Save the changes, and click Verify on the Vigilance Settings page to verify installation was correct!&#x20;
