---
title: "Solr"
slug: "solr"
abstract: "Set up Solr authentication and the required account permissions for Sitecore XP 10.5 and later."
---
# Configure Solr authentication and permissions

Starting with Sitecore XP 10.5.0, all Sitecore-to-Solr connections must use HTTP Basic authentication.

## Solr connection string format

Use the following format for the Solr connection string:

https://<username>:<password>@<solr-host>:<port>/solr

## Solr admin account requirements

You can use your own Solr instance, but it must have authentication enabled.  
For details, see [Configuring Authentication and Authorization](https://solr.apache.org/guide/solr/latest/deployment-guide/authentication-and-authorization-plugins.html).

During Sitecore setup, provide a Solr admin account. Sitecore uses this account to create and configure required Solr resources.

Grant the Solr admin account at least these permissions:

1. core-admin-read
2. core-admin-edit
3. collection-admin-read (SolrCloud only)
4. collection-admin-edit (SolrCloud only)
5. security-read
6. security-edit
7. health

## Solr connection account behavior

During setup, Sitecore creates a dedicated Solr connection account with the minimum required permissions for runtime operations.

Sitecore roles use this connection account for ongoing requests to Solr.
