> For the complete documentation index, see [llms.txt](https://help.steeple.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.steeple.com/en/administration/gerer-services-et-sites.md).

# How do I manage services and locations?

### Access the management of services and locations

Go to the**Administration**, section **Employees**, then go to the page **Directory settings** (`/administration/users/profile-fields`).

Services and locations are managed through modals accessible by clicking the **pencil button** next to the field **Services** or **Locations**.

### Manage services

Click the pencil button for the **Services** field to open the management modal.

#### Add a service

At the top of the modal, enter the name of the new service in the input field and click **Add**.

#### Create a community from a service

Right after adding a service, Steeple suggests creating the corresponding dynamic community: **Create a community from this service?** The employees in this service will be automatically added or removed.

<figure><img src="https://608007981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FByS0e17eM732OXdGGkme%2Fuploads%2Fgit-blob-253384a1686fd6ad7f085eaec5a88893d3070995%2Fservices-proposition-communaute.png?alt=media" alt="La proposition Créer une communauté à partir de ce service ?, avec la case Ne plus me demander pour le moment et les boutons Non merci et Créer une communauté" width="498"><figcaption></figcaption></figure>

* **Create a community** opens the creation process, already set up as a dynamic community, with the service name and rule. You can edit them before confirming. See [How do you create a community?](https://help.steeple.com/en/communautes/creer-communaute.md).
* **No thanks** adds the service without creating a community.
* **Don't ask me again for now**, checked before **No thanks**, suspends the suggestion until you close the service management window.

Creating one is optional: a service can exist without a community.

#### Search for a service

Use the search field to find an existing service in the list.

#### Edit a service

On the row for the relevant service, open the **⋮** (three dots) menu and click **Edit**. Enter the new name and confirm.

#### Delete a service

On the row for the relevant service, open the **⋮** (three dots) menu and click **Delete**. A confirmation will be requested. The service is removed from the employees who had it. They keep their other services; those who had only this one no longer have any service.

{% hint style="warning" %}
If this service is used in the rule of a **dynamic community**, its members are recalculated: depending on the rule, the community may empty out, lose some of its members, or on the contrary gain some. Check the rule of the affected communities before deleting. See below "Delete a service or a location used by a dynamic community".
{% endhint %}

### Manage locations

The process is the same as for services. Click the pencil button for the **Locations** field to open the location management modal.

You can **add**, **search**, **edit** and **delete** locations in the same way as services. After adding a location, Steeple likewise offers to create the corresponding dynamic community: **Create a community from this location?**

Deleting a location has the same effect on dynamic communities as deleting a service: see below.

### Delete a service or a location used by a dynamic community

The dynamic community is kept, but its rule loses the deleted service or location, and its members are recalculated:

* **If it was the only criterion in the rule**, no one matches it anymore: **the community empties** of all its members, including administrators.
* **If it was one choice among others in the same field** (for example, one service among two), only the employees who no longer match the rule leave the community. An employee who also has the other service remains a member.
* **If it was the only service (or the only location) in a rule that combined services and locations**, the rule now applies only to the other field: **the community may gain members**. For example, a "Commerce **AND** Rennes" community becomes "Rennes" and welcomes all employees in Rennes.

Before deleting a service or a location, check the rule of the dynamic communities that use it.

To edit the rule of a dynamic community, see [How do you edit the membership rule of a dynamic community?](https://help.steeple.com/en/communautes/regle-appartenance.md).

### Use of services and locations

Services and locations appear in the Directory, serve as the rule for dynamic communities, and are assigned to each employee, one or more at a time. See [What are services and locations?](https://help.steeple.com/en/annuaire/services-et-lieux.md).
