1 import { InlineIcon, getOsShortcut, Kbd } from "docs-ui"
2 import { EllipsisHorizontal, ChevronUpDown } from "@medusajs/icons"
3
4 export const metadata = {
5 title: `Organizations`,
6 }
7
8 # {metadata.title}
9
10 In this guide, you'll learn about organizations in Cloud and how to manage them.
11
12 ## What is an Organization?
13
14 In Cloud, an organization is a group of users that have access to the same settings, projects, resources, environments, and billing details.
15
16 As a user, you must be in an organization to create and deploy projects. A user can be a member of multiple organizations.
17
18 ---
19
20 ## Create or Join an Organization
21
22 To get started with Cloud, you need to either create a new organization or [join an existing one](#invite-members-to-organization).
23
24 If you don't have a Cloud account, you can [sign up for Cloud](../sign-up/page.mdx) and create a new organization.
25
26 To create a new organization when you already have a Cloud account:
27
28 1. Click on the <InlineIcon Icon={ChevronUpDown} alt="switch organization" /> icon next to the current organization name at the top left of the Cloud dashboard.
29 2. Choose "Create Organization" from the dropdown.
30 3. In the "Setup your organization" step, enter your organization's name and click the "Create" button.
31 4. In the final step:
32 - Choose a plan for your organization. By default, the **Develop** plan is selected. You can change the plan by clicking the "Change plan" link.
33 - **Payment Details**: Enter your card details. You'll be charged upfront based on the plan you selected once you finish the setup.
34 - **Billing address**: Enter your billing address. This address is used for generated invoices.
35 5. Once you're done, click the "Start your X/mo plan" button. Then, Medusa will charge you for the plan you selected, create an organization, and redirect you to your organization's Cloud dashboard.
36
37 <Note title="Free Trial">
38
39 If you don't belong to any organizations yet and you're eligible for a free trial, which is available only in select regions, Medusa starts a free trial for the new organization and redirects you to the organization's projects list. Learn how to view the trial's status in the [Manage Plans](../billing/plans/page.mdx#view-trial-status) guide.
40
41 </Note>
42
43 ---
44
45 ## Organization Dashboard
46
47 When you open the Cloud dashboard and log in, you're viewing the projects, resources, and settings of a specific organization. You'll find the name of that organization at the top left of the dashboard.
48
49 ### Switch Organization
50
51 If you're a member of multiple organizations, you can switch between them to view their projects, resources, and settings.
52
53 To switch to a different organization:
54
55 1. Click on the <InlineIcon Icon={ChevronUpDown} alt="switch organization" /> icon next to the organization name at the top left of the Cloud dashboard.
56 2. Choose the organization you want to switch to from the dropdown.
57
58 This will change the view to the selected organization, and you'll see its projects, resources, and settings.
59
60 ---
61
62 ## Edit Organization Details
63
64 To edit an organization's general details:
65
66 <Note title="Tip">
67
68 You can also navigate to an organization's settings from the [command palette](../command-palette/page.mdx). Press <Kbd>{getOsShortcut()}</Kbd> + <Kbd>K</Kbd> and select **Organization Settings**.
69
70 </Note>
71
72 1. If you're in a different organization, [switch to the organization](#switch-organization) whose settings you want to view.
73 2. Make sure you're on the projects overview page of the organization. You can do this by clicking on the organization name at the top left of the dashboard.
74 3. Click **Settings** > **General** in the sidebar to open the organization's settings.
75 4. You can edit the organization's name, billing email address, or tax ID.
76 5. Once you're done making changes, click the **Save changes** button in the Details section.
77
78 ---
79
80 ## Leave Organization
81
82 <Note type="warning">
83
84 Leaving an organization will remove you from it, and you'll no longer have access to its projects, resources, and settings. You can only access it by being invited again by another user in the organization.
85
86 </Note>
87
88 To leave an organization:
89
90 <Note title="Tip">
91
92 You can also navigate to an organization's settings from the [command palette](../command-palette/page.mdx). Press <Kbd>{getOsShortcut()}</Kbd> + <Kbd>K</Kbd> and select **Organization Settings**.
93
94 </Note>
95
96 1. If you're in a different organization, [switch to the organization](#switch-organization) whose settings you want to view.
97 2. Make sure you're on the projects overview page of the organization. You can do this by clicking on the organization name at the top left of the dashboard.
98 3. Click **Settings** > **General** in the sidebar to open the organization's settings.
99 4. Click the "Leave organization" button.
100
101 ---
102
103 ## Delete Organization
104
105 <Note type="warning" title="Danger">
106
107 Deleting an organization will remove all its projects, resources, and settings. This action is irreversible, and you won't be able to recover any data after deletion.
108
109 </Note>
110
111 Organization deletion is only available for organizations that have canceled their subscriptions. Organizations with active paid subscriptions cannot be deleted.
112
113 To delete an organization:
114
115 <Note title="Tip">
116
117 You can also navigate to an organization's settings from the [command palette](../command-palette/page.mdx). Press <Kbd>{getOsShortcut()}</Kbd> + <Kbd>K</Kbd> and select **Organization Settings**.
118
119 </Note>
120
121 1. If you're in a different organization, [switch to the organization](#switch-organization) whose settings you want to view.
122 2. Make sure you're on the projects overview page of the organization. You can do this by clicking on the organization name at the top left of the dashboard.
123 3. Click **Settings** > **General** in the sidebar to open the organization's settings.
124 4. If your organization has canceled its subscription, click the "Delete organization" button to proceed with deletion.
125
126 ---
127
128 ## View Organization Members
129
130 To view the members of an organization:
131
132 1. If you're in a different organization, [switch to the organization](#switch-organization) whose settings you want to view.
133 2. Make sure you're on the projects overview page of the organization. You can do this by clicking on the organization name at the top left of the dashboard.
134 3. Click on **Team** in the sidebar.
135
136 This opens the Team page where you can view the members of the organization, their roles, and their email addresses. You can also view invited members who haven't accepted the invitation yet.
137
138 ### View Available Seats
139
140 Based on your organization's plan, you may have a limited number of seats available for members. You can view the number of available seats at the top of the Team page.
141
142 If you need more seats, learn more about [other available plans](../pricing/page.mdx) or [purchasing add-on resources](../billing/page.mdx#purchase-add-on-resources).
143
144 ### Invite Members to Organization
145
146 <Note>
147
148 Make sure you have [enough available seats](#view-available-seats) in your organization before inviting new members.
149
150 </Note>
151
152 To invite members to your organization:
153
154 <Note title="Tip">
155
156 You can also navigate to an organization's team member settings from the [command palette](../command-palette/page.mdx). Press <Kbd>{getOsShortcut()}</Kbd> + <Kbd>K</Kbd> and select **Team Members**.
157
158 </Note>
159
160 1. If you're in a different organization, [switch to the organization](#switch-organization) whose settings you want to view.
161 2. Make sure you're on the projects overview page of the organization. You can do this by clicking on the organization name at the top left of the dashboard.
162 3. Click on **Team** in the sidebar.
163 4. In the "Invite members" section, enter the email addresses of the users you want to invite. You can enter multiple email addresses separated by commas.
164
165 These users will receive an email invitation to join your organization. They can accept the invitation by clicking the link in the email.
166
167 ### Resend Invitation
168
169 You may need to resend an invitation if a user has lost the invitation email or if the invitation has expired.
170
171 To resend an invitation:
172
173 <Note title="Tip">
174
175 You can also navigate to an organization's team member settings from the [command palette](../command-palette/page.mdx). Press <Kbd>{getOsShortcut()}</Kbd> + <Kbd>K</Kbd> and select **Team Members**.
176
177 </Note>
178
179 1. If you're in a different organization, [switch to the organization](#switch-organization) whose settings you want to view.
180 2. Make sure you're on the projects overview page of the organization. You can do this by clicking on the organization name at the top left of the dashboard.
181 3. Click on **Team** in the sidebar.
182 4. In the "Organization members" section, find the user whose invitation you want to resend. If a user's invitation has expired, you'll see an "Invite expired" badge in their row.
183 5. Click the <InlineIcon alt="ellipsis" Icon={EllipsisHorizontal} /> button at the end of the user's row.
184 6. Choose "Resend invite" from the dropdown.
185
186 ### Revoke Invitation
187
188 You can revoke an invitation to a user if you no longer want them to join your organization.
189
190 To revoke an invitation:
191
192 <Note title="Tip">
193
194 You can also navigate to an organization's team member settings from the [command palette](../command-palette/page.mdx). Press <Kbd>{getOsShortcut()}</Kbd> + <Kbd>K</Kbd> and select **Team Members**.
195
196 </Note>
197
198 1. If you're in a different organization, [switch to the organization](#switch-organization) whose settings you want to view.
199 2. Make sure you're on the projects overview page of the organization. You can do this by clicking on the organization name at the top left of the dashboard.
200 3. Click on **Team** in the sidebar.
201 4. In the "Organization members" section, find the user whose invitation you want to resend. If a user's invitation has expired, you'll see an "Invite expired" badge in their row.
202 4. Click the <InlineIcon alt="ellipsis" Icon={EllipsisHorizontal} /> button at the end of the user's row.
203 5. Choose **Revoke invite** from the dropdown.
204
205 ### Remove Members from Organization
206
207 Owner and admin users can remove any members from the organization that aren't owners.
208
209 To remove a member from your organization:
210
211 <Note title="Tip">
212
213 You can also navigate to an organization's team member settings from the [command palette](../command-palette/page.mdx). Press <Kbd>{getOsShortcut()}</Kbd> + <Kbd>K</Kbd> and select **Team Members**.
214
215 </Note>
216
217 1. If you're in a different organization, [switch to the organization](#switch-organization) whose settings you want to view.
218 2. Make sure you're on the projects overview page of the organization. You can do this by clicking on the organization name at the top left of the dashboard.
219 3. Click on **Team** in the sidebar.
220 4. In the "Organization members" section, find the member you want to remove.
221 5. Click the <InlineIcon alt="ellipsis" Icon={EllipsisHorizontal} /> button at the end of the member's row.
222 6. Choose **Remove from organization** from the dropdown.
223
224 ### Promote a Member to Owner
225
226 Organization owners can promote other members to the Owner role. This action is only available to owners and only appears for members who are not already owners.
227
228 To promote a member to owner:
229
230 <Note title="Tip">
231
232 You can also navigate to an organization's team member settings from the [command palette](../command-palette/page.mdx). Press <Kbd>{getOsShortcut()}</Kbd> + <Kbd>K</Kbd> and select **Team Members**.
233
234 </Note>
235
236 1. If you're in a different organization, [switch to the organization](#switch-organization) whose settings you want to view.
237 2. Make sure you're on the projects overview page of the organization. You can do this by clicking on the organization name at the top left of the dashboard.
238 3. Click on **Team** in the sidebar.
239 4. In the "Organization members" section, find the member you want to promote.
240 5. Click the <InlineIcon alt="ellipsis" Icon={EllipsisHorizontal} /> button at the end of the member's row.
241 6. Choose **Promote to Owner** from the dropdown.
242 7. Confirm the promotion in the dialog that appears.
243
244 The member is promoted to owner and gains full owner privileges in the organization.
245
246 ---
247
248 ## Manage Billing Details
249
250 Refer to the [Billing](../billing/page.mdx) guide to learn how to manage your organization's billing details, including payment methods, invoices, and usage.