2021-11-26 07:12:49 -05:00
---
stage: Plan
group: Product Planning
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
---
# Customer relations management (CRM) **(FREE)**
2022-02-10 10:12:42 -05:00
FLAG:
On self-managed GitLab, by default this feature is not available. To make it available, ask an administrator to [enable the feature flag ](../../administration/feature_flags.md ) named `customer_relations` .
On GitLab.com, this feature is not available.
2021-11-26 07:12:49 -05:00
2022-03-14 08:07:59 -04:00
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/2256) in GitLab 14.6 [with a flag](../../administration/feature_flags.md) named `customer_relations`. Disabled by default.
> - In GitLab 14.8 and later, you can [create contacts and organizations only in root groups](https://gitlab.com/gitlab-org/gitlab/-/issues/350634).
2021-11-26 07:12:49 -05:00
With customer relations management (CRM) you can create a record of contacts
(individuals) and organizations (companies) and relate them to issues.
2022-03-14 08:07:59 -04:00
Contacts and organizations can only be created for root groups.
2021-11-26 07:12:49 -05:00
You can use contacts and organizations to tie work to customers for billing and reporting purposes.
To read more about what is planned for the future, see [issue 2256 ](https://gitlab.com/gitlab-org/gitlab/-/issues/2256 ).
2022-01-11 07:14:06 -05:00
## Permissions
| Permission | Guest | Reporter | Developer, Maintainer, and Owner |
| ---------- | ---------------- | -------- | -------------------------------- |
| View contacts/organizations | | ✓ | ✓ |
| View issue contacts | | ✓ | ✓ |
| Add/remove issue contacts | | ✓ | ✓ |
| Create/edit contacts/organizations | | | ✓ |
2022-01-07 19:14:32 -05:00
## Enable customer relations management (CRM)
To enable customer relations management in a group:
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Settings > General** .
1. Expand the **Permissions and group features** section.
1. Select **Enable customer relations** .
1. Select **Save changes** .
2021-11-26 07:12:49 -05:00
## Contacts
2021-12-16 10:10:28 -05:00
### View contacts linked to a group
2021-11-26 07:12:49 -05:00
To view a group's contacts:
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Customer relations > Contacts** .
![Contacts list ](crm_contacts_v14_6.png )
2021-12-16 10:10:28 -05:00
### Create a contact
To create a contact:
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Customer relations > Contacts** .
1. Select **New contact** .
1. Complete all required fields.
1. Select **Create new contact** .
You can also [create ](../../api/graphql/reference/index.md#mutationcustomerrelationscontactcreate )
contacts using the GraphQL API.
### Edit a contact
To edit an existing contact:
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Customer relations > Contacts** .
1. Next to the contact you wish to edit, select **Edit** (**{pencil}**).
1. Edit the required fields.
1. Select **Save changes** .
You can also [edit ](../../api/graphql/reference/index.md#mutationcustomerrelationscontactupdate )
2021-11-26 07:12:49 -05:00
contacts using the GraphQL API.
## Organizations
2021-12-16 10:10:28 -05:00
### View organizations
2021-11-26 07:12:49 -05:00
To view a group's organizations:
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Customer relations > Organizations** .
![Organizations list ](crm_organizations_v14_6.png )
2021-12-16 10:10:28 -05:00
### Create an organization
To create an organization:
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Customer relations > Organizations** .
1. Select **New organization** .
1. Complete all required fields.
1. Select **Create new organization** .
You can also [create ](../../api/graphql/reference/index.md#mutationcustomerrelationsorganizationcreate )
organizations using the GraphQL API.
### Edit an organization
You can only [edit ](../../api/graphql/reference/index.md#mutationcustomerrelationsorganizationupdate )
2021-11-26 07:12:49 -05:00
organizations using the GraphQL API.
## Issues
2021-12-16 10:10:28 -05:00
### View issues linked to a contact
To view a contact's issues:
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Customer relations > Contacts** .
1. Next to the contact whose issues you wish to view, select **View issues** (**{issues}**).
### View issues linked to an organization
To view an organization's issues:
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Customer relations > Organizations** .
1. Next to the organization whose issues you wish to view, select **View issues** (**{issues}**).
### View contacts linked to an issue
2021-11-26 07:12:49 -05:00
You can view contacts associated with an issue in the right sidebar.
To view a contact's details, hover over the contact's name.
![Issue contacts ](issue_crm_contacts_v14_6.png )
You can also view issue contacts using the
[GraphQL ](../../api/graphql/reference/index.md#mutationcustomerrelationsorganizationcreate )
API.
### Add or remove issue contacts
2021-12-16 10:10:28 -05:00
### Add contacts to an issue
2022-02-10 10:12:42 -05:00
To add contacts to an issue use the `/add_contacts [contact:address@example.com]`
2021-11-26 07:12:49 -05:00
[quick action ](../project/quick_actions.md ).
2021-12-16 10:10:28 -05:00
You can also add, remove, or replace issue contacts using the
[GraphQL ](../../api/graphql/reference/index.md#mutationissuesetcrmcontacts )
API.
### Remove contacts from an issue
2022-02-10 10:12:42 -05:00
To remove contacts from an issue use the `/remove_contacts [contact:address@example.com]`
2021-11-26 07:12:49 -05:00
[quick action ](../project/quick_actions.md ).
You can also add, remove, or replace issue contacts using the
[GraphQL ](../../api/graphql/reference/index.md#mutationissuesetcrmcontacts )
API.
2022-02-10 10:12:42 -05:00
## Autocomplete contacts **(FREE SELF)**
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/2256) in GitLab 14.8 [with a flag](../../administration/feature_flags.md) named `contacts_autocomplete`. Disabled by default.
FLAG:
On self-managed GitLab, by default this feature is not available. To make it available, ask an administrator to [enable the feature flag ](../../administration/feature_flags.md ) named `contacts_autocomplete` .
On GitLab.com, this feature is not available.
This feature is not ready for production use.
When you use the `/add_contacts` or `/remove_contacts` quick actions, follow them with `[contact:` and an autocomplete list appears:
```plaintext
/add_contacts [contact:
/remove_contacts [contact:
```