# Shopify

Rep.ai can integrate with Shopify to allow you to engage visitors on your website.

To install Rep.ai on Shopify, you can use the instructions found on our [5 Minute Quick Start](https://docs.rep.ai/).

If you're interested in identifying logged in visitors on your Shopify site, you can use our [Identify API](/custom-user-identities.md).

You'll want to be sure to properly format the `RepAI.identify()` call to conform to Liquid syntax per the below example.

```javascript
if ("{{ customer.email }}") {
  RepAI("identify", "{{ customer.email | downcase }}", {
    displayName: "{{ customer.name }}",
    email: "{{ customer.email | downcase }}"
  })
}
```


---

# 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.rep.ai/integrations/shopify.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.
