> For the complete documentation index, see [llms.txt](https://docs.rmhpos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rmhpos.com/es/installation/install-store-manager-single-store/installation-sm-configuration-sql-server.md).

# Configurar la conexión a SQL Server y la base de datos de la tienda

{% hint style="info" %}
Debe restaurar o crear la base de datos de la tienda antes de conectarse a ella. Puede usar la base de datos de muestra de la tienda para comenzar. Puede encontrar bases de datos de muestra de la tienda en **C:\Program Files (x86)\Retail Hero\RMH Store Manager\DBFiles**.
{% endhint %}

1. Abrir **Administrador de la tienda**. El acceso directo debería estar disponible en su escritorio.
2. Haga clic en **Configuración**.

<div align="left"><img src="/files/3570d8708a9d5912ae800e5cba34fa15914342a1" alt=""></div>

3. En el **Nombre del servidor** campo, escriba el nombre del host del equipo donde instaló SQL Server, una barra invertida (\\), y el nombre de la instancia de SQL Server.

{% hint style="info" %}
Si instaló Microsoft SQL Server, POS y Store Manager en el mismo equipo, puede introducir un punto, (local) o localhost en este campo.
{% endhint %}

<div align="left"><img src="/files/a77ef68028397a67353944c73c8517384ee0057b" alt=""></div>

4. En el **Base de datos** campo, escriba el nombre de la base de datos de la tienda.
5. Seleccione **Usar la autenticación de SQL Server**.
6. Introduzca el **Nombre de usuario** y **Contraseña** para la cuenta del sistema.
7. Haga clic en **Probar la conexión a la base de datos**. Debería ver el mensaje **Base de datos conectada correctamente**.

<div align="left"><img src="/files/f5470e91dbb1af46fa775d6c3ef073ddb12701d0" alt=""></div>

8. Haga clic en **Guardar y cerrar**.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.rmhpos.com/es/installation/install-store-manager-single-store/installation-sm-configuration-sql-server.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
