> 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 a la base de datos de la tienda

Este tema describe cómo configurar la conexión a SQL Server y a la base de datos de la tienda en Store Administrator.

{% 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="https://1556792658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjgsd9U4TRO2qgcIBegi7%2Fuploads%2Fgit-blob-699babde903f1ee4b66b09f13c3ee06fe8013322%2Fstore-administrator.png?alt=media" 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="https://1556792658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjgsd9U4TRO2qgcIBegi7%2Fuploads%2Fgit-blob-2db967d75c56f8731f0a3f08d6a829ef5138b6d3%2Fstore-administrator-configuration-filled.png?alt=media" 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="https://1556792658-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fjgsd9U4TRO2qgcIBegi7%2Fuploads%2Fgit-blob-2bebc8c3e74e084bf32756e328358ae0580b1fe3%2Fstore-administrator-configuration-success.png?alt=media" 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 by asking a question.

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

```
GET https://docs.rmhpos.com/es/installation/install-store-manager-single-store/installation-sm-configuration-sql-server.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.
