# 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="/files/5k1Y1gECPMNbLqeZj2NM" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/L5yDu9ZKwjKEhpPMDjK0" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/yM888kLozpOFNIFuiDnu" 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="/files/4G08S97bxVW3gBVFoNWn" 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;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vigilance.io/installation-guide.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
