> For the complete documentation index, see [llms.txt](https://docs.dapta.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dapta.ai/dapta-docs-es/ai-marketing/integraciones/shopify.md). Agents can also search and read this documentation through its [MCP server](https://docs.dapta.ai/~gitbook/mcp).

# Shopify

Conecta Shopify a Dapta con el nombre de tu tienda de desarrollo y un token de acceso que empiece por shpat, para publicar contenido automáticamente.

Para realizar la integración, necesitaremos tres recursos:

1. Shopify development store name (nombre de la tienda en desarrollo Shopify)
2. Shopify Access Token (Token de acceso de la API)

### Extracción del nombre de la tienda en desarrollo Shopify

1. Inicia sesión en tu cuenta de Shopify.
2. Clic en configuración.
3. Dominios
4. El nombre de la tienda de desarrollo de Shopify se identifica por tener: **`.myshopify.com`**

<figure><img src="https://365551146-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMUYDYzjmxpzlYaw0gcaZ%2Fuploads%2FhvYfDsTwYAmDVH73DtDv%2FNombre%20shopify.gif?alt=media&amp;token=666818b9-a6fc-405c-b966-97bc5316015c" alt=""><figcaption><p>Pasos para obtener el nombre de la tienda de desarrollo de Shopify.</p></figcaption></figure>

### Creación de token de acceso de la API

1. Inicia sesión en tu cuenta de Shopify.
2. Clic en configuración.
3. Aplicaciones y canales de ventas
4. Clic en Desarrollar aplicaciones
5. Clic en crear una aplicación
6. Agrega el nombre de la aplicación y da clic en crear aplicación.
7. Dentro de la aplicación creada, ve a configuración
8. Da clic en **configurar Integración de la API del panel de control**
9. Buscas **contenido de la tienda** y seleccionas los permisos de `write_content` y `read_content y` guardas los cambios.
10. Te devuelves a configuración e ingresas a la **configuración de Integración de la API de la tienda online**.
11. Buscas **contenido y** seleccionas los permisos de `unauthenticated_read_content` y guardas los cambios.
12. Por último, vas a credenciales de aplicación y das clic en instalar aplicación.
13. IMPORTANTE: **El token de acceso debe iniciar con `shpat`.**

<figure><img src="https://365551146-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMUYDYzjmxpzlYaw0gcaZ%2Fuploads%2Fslg41ngP8ZT8ZcsIaMCu%2Fimage.png?alt=media&amp;token=438ceaf0-65f5-4a6c-adc6-56cd23abfa57" alt=""><figcaption><p>Ejemplo token de acceso</p></figcaption></figure>

### Configuración en Dapta

1. Con los datos recolectados, dirígete al módulo de **AI Marketing** en Dapta y luego a **Connections**.

<figure><img src="https://365551146-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMUYDYzjmxpzlYaw0gcaZ%2Fuploads%2FXZL1kWOYXGiA2yqeTuqm%2Fimage.png?alt=media&amp;token=680e3bcc-2957-4d24-a15b-ee309c95a77c" alt=""><figcaption><p>Sección de integraciones de Dapta</p></figcaption></figure>

2. Dentro de Connections, haz clic en **Add account** o en el símbolo **+** para agregar las credenciales de Shopify.

<figure><img src="https://365551146-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMUYDYzjmxpzlYaw0gcaZ%2Fuploads%2F3Iw7xX2dvFzKSfVDGlqk%2Fimage.png?alt=media&amp;token=5169d2ca-86bf-4603-a837-8b879165641b" alt=""><figcaption><p>Opción para agregar una nueva credencial de Shopify.</p></figcaption></figure>

3. En el formulario que aparece, ingresa la información recolectada previamente:

<figure><img src="https://365551146-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMUYDYzjmxpzlYaw0gcaZ%2Fuploads%2FDt5EN3XtMRwVRPeI6O8L%2Fimage.png?alt=media&amp;token=2283c0b8-60b9-45e8-b1a0-c0320f21d19f" alt=""><figcaption><p>Agregar credencial de Shopify en Dapta</p></figcaption></figure>

\
4\. Selecciona la credencial creada.

<figure><img src="https://365551146-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMUYDYzjmxpzlYaw0gcaZ%2Fuploads%2Fg2tuKCv3RdkJiQUpNj7s%2Fimage.png?alt=media&amp;token=1dcde33b-a1ea-4529-97a3-ff7322b34b2a" alt=""><figcaption><p>Selección credencial creada.</p></figcaption></figure>

4. Guarda la información y aprueba un artículo para confirmar el funcionamiento de la integración.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dapta.ai/dapta-docs-es/ai-marketing/integraciones/shopify.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
