> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trunk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Managing your Organization

> Manage members, roles, and settings for your Trunk organization.

## Organization Slug and Token

Integrating with Trunk through [Webhooks](../flaky-tests/webhooks/), [APIs](./apis/), or [CLI](/code-quality/overview/cli/getting-started) will require authentication using your organization's slug and token.

You can find your organization slug and token by navigating to **Settings** → **Organization** → **General**.

<Frame>
  <img src="https://mintcdn.com/trunk-4cab4936/_uqom5T5LPXKKAze/assets/setup-and-administration/org-slug-and-token.png?fit=max&auto=format&n=_uqom5T5LPXKKAze&q=85&s=6c38a265d5ea069cce96b2eb2a8f2359" alt="" width="2560" height="1800" data-path="assets/setup-and-administration/org-slug-and-token.png" />
</Frame>

***

## Managing Team Members

You can manage a team member's role and remove team members by navigating to **Settings** → **Organization** → **Team** → **Members** and clicking on the name of a team member. You can change the role of a team member between member and admin, as well as remove the user from your organization.

<Frame>
  <img src="https://mintcdn.com/trunk-4cab4936/_uqom5T5LPXKKAze/assets/setup-and-administration/org-team.png?fit=max&auto=format&n=_uqom5T5LPXKKAze&q=85&s=968483d6a522655f72012d8d3d932602" alt="" width="2560" height="1800" data-path="assets/setup-and-administration/org-team.png" />
</Frame>

### Inviting Team Members

You can invite individual members manually by navigating to **Settings** → **Organization** → **Team** → **Members** and clicking the **Invite Users** button. An email will be sent to the invitee's inbox.

In the form, add comma separated email addresses and select a Role from the drop down. This role will be applied to all users in this invite batch.

Available Roles are:

* **Member**: Full access with limited permissions (default)
* **Admin**: Full administrative access

<Frame>
  <img src="https://mintcdn.com/trunk-4cab4936/_uqom5T5LPXKKAze/assets/setup-and-administration/org-team-members-invite.png?fit=max&auto=format&n=_uqom5T5LPXKKAze&q=85&s=bf193f5a4f9126f777c6c3b41f6020f0" alt="" width="3612" height="2808" data-path="assets/setup-and-administration/org-team-members-invite.png" />
</Frame>

### Pending Invites

You can view and manage pending email invites by navigating to **Settings** → **Organization** → **Team** → **Pending Invites**.

From this page you can copy the member invite link or revoke the invite using the **three dots** menu.

<Frame>
  <img src="https://mintcdn.com/trunk-4cab4936/_uqom5T5LPXKKAze/assets/setup-and-administration/org-team-pending-invites.png?fit=max&auto=format&n=_uqom5T5LPXKKAze&q=85&s=5625392a4c1f77640a5ec0518557956c" alt="" width="8220" height="4036" data-path="assets/setup-and-administration/org-team-pending-invites.png" />
</Frame>

<Tip>
  Trunk also supports SSO login. If you wish to use SSO, please contact us at [support@trunk.io](mailto:support@trunk.io).
</Tip>

***

## Leaving an Organization

You can remove yourself from an organization at any time by navigating to **Settings** → **Organization** → **General** and clicking **Leave Organization**.

A confirmation dialog will appear. Once you leave, you lose access to the organization's settings, repositories, and test data. Another member can invite you back if needed.

**If you are an admin**, the **Leave Organization** button appears in the **Danger Zone** section at the bottom of the General settings page alongside the **Delete Organization** option.

**If you are not an admin**, the **Leave Organization** option appears as a standalone card outside the Danger Zone section.
