# Conectar Cuenta

Para realizar la instalación de la integración entre WooowUp y Tienda nube se deben seguir los siguientes pasos:

1. Dirígete a [https://www.tiendanube.com/apps/85](https://www.tiendanube.com/apps/859/authorize)[9/authorize](https://www.tiendanube.com/apps/859/authorize), en caso de que solicite ingresar a la cuenta, colocar usuario y clave.
2. Va a aparecer una ventana donde debe aceptar los permisos que pide nuestra app.
3. &#x20;Se lo va a redirigir a un sitio del estilo [admin.woowup.com/tiendanube?code=abcd](http://admin.woowup.com/tiendanube?code=abcd). Nosotros necesitamos ese código "abcd". **Importante: el código es temporal, expira en 30 segundos.**
4. Con el code, nuestro client\_id y nuestro client\_secret hacemos la siguiente request:

*`curl`* [*`https://www.tiendanube.com/apps/authorize/token`*](https://www.tiendanube.com/apps/authorize/token) *`--data 'client_id=`*`859`*`&client_secret=`*&#x42;8rFu3FHJLajDeAastRkOh2Z6NOGF88KGlHyZQ559Pg5aQ7&#x43;*`&grant_type=authorization_code&code=abcd'`*

Vamos a obtener una respuesta de la forma:

*`{"access_token":"281f028a24116a3a412","token_type":"bearer","scope":"read_products,read_coupons,read_customers,read_orders","user_id":1010101}`*

Donde **user\_id** va a ser lo que ingresemos en el campo "**Store ID**" de la configuración de WoowUp y **access\_token** el código de autorización.

{% hint style="warning" %}
Para realizar este tipo de tarea, vas a necesitar tener conocimientos de APIs y en la plataforma Postman
{% endhint %}


---

# 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://woowup-docs.gitbook.io/woowup-developer-docs/tienda-nube/conectar-cuenta.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.
