> 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/installation/install-store-manager-single-store/installation-sm-configuration-sql-server.md).

# Configure the connection to SQL Server and the store database

This topic describes how to configure the connection to SQL Server and the store database in Store Administrator.

{% hint style="info" %}
You must restore or create the store database prior to connecting to it. You can use the sample store database to start. You can find sample store databases under **C:\Program Files (x86)\Retail Hero\RMH Store Manager\DBFiles**.
{% endhint %}

1. Open **Store Administrator**. The shortcut should be available on your desktop.
2. Click **Configuration**.

<div align="left"><img src="https://2921455087-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. In the **Server Name** field, type the host name of the computer where you installed SQL server, a backwards slash (\\), and the name of the SQL Server instance.

{% hint style="info" %}
If you installed Microsoft SQL Server, POS, and Store Manager on the same computer, you can enter a period, (local), or localhost into this field.
{% endhint %}

<div align="left"><img src="https://2921455087-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. In the **Database** field, type the name of the store database.
5. Select **Use SQL Server Authentication**.
6. Enter the **User name** and **Password** for the system account.
7. Click **Test Database Connection**. You should see the message **Database successfully connected**.

<div align="left"><img src="https://2921455087-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. Click **Save And Close**.


---

# 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/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.
