# How to Set Up Team Rules

Navigate to the FlexReview Teams page to start your setup.

## Team Dashboard

On the dashboard, admins can select their team from the dropdown and see SLO metrics. The dashboard also shows which specific PRs have failed to meet the defined SLO time.

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FkMPa2SeFAYkQ5bW53Fro%2FScreen%20Shot%202024-04-24%20at%205.27.36%20PM.png?alt=media&#x26;token=b17485e3-2ffe-46b5-a326-d7e23bd54b01" alt=""><figcaption><p>View SLO metrics via the dashboard.</p></figcaption></figure>

## Team Config

Navigate over to the `Team Config` to set up your team-specific rules.

### Review Assignment

Specify how you want reviews assigned on your team. Options include expert review, round robin, or no automatic assignment.

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FJTvRRmms9yo89Wfof3UD%2FScreen%20Shot%202024-04-24%20at%205.44.13%20PM.png?alt=media&#x26;token=0bbb8cd9-dfaa-4b98-8e24-d385e18b668f" alt="" width="563"><figcaption><p>Define review assignment.</p></figcaption></figure>

### SLO Config

You can set both internal and external review SLOs, and ensure that the SLO is only applied to PRs of a certain size. The internal SLO applies to reviewers on the same team, and the external SLO applies to members of other teams.

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FyF6f72fT2Eh5cokD76BA%2FScreen%20Shot%202024-04-24%20at%205.44.52%20PM.png?alt=media&#x26;token=810fb50e-441d-4968-9fa4-c0c0ea9b8a82" alt="" width="563"><figcaption><p>Set up team-specific SLOs.</p></figcaption></figure>

### Team Default Slack Channel

You can specify the team Slack channel. This is used for notifications in the automation rules below.

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FLhRff9tY8kuIfONUSLh9%2Fimage.png?alt=media&#x26;token=074dd9e9-abb1-4cf4-a77f-df30e2c08422" alt=""><figcaption></figcaption></figure>

### Automation Rules

FlexReview allows teams to set up automations. If multiple teams are responsible for a single PR, all rules for the relevant teams will be triggered.

Trigger options:

* When a new reviewer is assigned
* When there is no review activity for X hours

Action options:

* Send a Slack DM to the reviewer
* Send a Slack message to the team channel
* Reassign the PR to another reviewer

You can configure the rule to cascade to all decendent teams.

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FUAaa5vCC51rkWVwStzKQ%2Fimage.png?alt=media&#x26;token=7e9cb3c0-a7d8-45a2-8444-261406be0903" alt=""><figcaption></figcaption></figure>
