|
1
|
import { Table, Note } from "docs-ui" |
|
2
|
|
|
3
|
export const metadata = { |
|
4
|
title: `signup Command - Medusa Cloud CLI Reference`, |
|
5
|
} |
|
6
|
|
|
7
|
# {metadata.title} |
|
8
|
|
|
9
|
Open Cloud in your browser to create a new account. |
|
10
|
|
|
11
|
```bash |
|
12
|
mcloud signup |
|
13
|
``` |
|
14
|
|
|
15
|
Running the command without options opens a browser window pointing to the |
|
16
|
Cloud sign-up page. |
|
17
|
|
|
18
|
## Options |
|
19
|
|
|
20
|
<Table> |
|
21
|
<Table.Header> |
|
22
|
<Table.Row> |
|
23
|
<Table.HeaderCell> |
|
24
|
Option |
|
25
|
</Table.HeaderCell> |
|
26
|
<Table.HeaderCell> |
|
27
|
Description |
|
28
|
</Table.HeaderCell> |
|
29
|
<Table.HeaderCell> |
|
30
|
Default |
|
31
|
</Table.HeaderCell> |
|
32
|
</Table.Row> |
|
33
|
</Table.Header> |
|
34
|
<Table.Body> |
|
35
|
<Table.Row> |
|
36
|
<Table.Cell> |
|
37
|
|
|
38
|
`--skip-browser` |
|
39
|
|
|
40
|
</Table.Cell> |
|
41
|
<Table.Cell> |
|
42
|
|
|
43
|
Print the Cloud sign-up URL to the terminal instead of opening a |
|
44
|
browser. Use this on headless servers or in environments where a |
|
45
|
browser cannot be launched. |
|
46
|
|
|
47
|
</Table.Cell> |
|
48
|
<Table.Cell> |
|
49
|
|
|
50
|
`false` |
|
51
|
|
|
52
|
</Table.Cell> |
|
53
|
</Table.Row> |
|
54
|
<Table.Row> |
|
55
|
<Table.Cell> |
|
56
|
|
|
57
|
`--json` |
|
58
|
|
|
59
|
</Table.Cell> |
|
60
|
<Table.Cell> |
|
61
|
|
|
62
|
Print the result as JSON instead of formatted text. |
|
63
|
|
|
64
|
</Table.Cell> |
|
65
|
<Table.Cell> |
|
66
|
|
|
67
|
`false` |
|
68
|
|
|
69
|
</Table.Cell> |
|
70
|
</Table.Row> |
|
71
|
</Table.Body> |
|
72
|
</Table> |
|
73
|
|
|
74
|
--- |
|
75
|
|
|
76
|
## Sign Up from a Headless Environment |
|
77
|
|
|
78
|
On remote servers or in containerized environments where no browser is |
|
79
|
available, use `--skip-browser` to get the sign-up URL and open it manually |
|
80
|
in your local browser: |
|
81
|
|
|
82
|
```bash |
|
83
|
mcloud signup --skip-browser |
|
84
|
``` |
|
85
|
|
|
86
|
The command prints a URL. Copy it and open it in any browser to complete the |
|
87
|
sign-up process. |
|
88
|
|
|
89
|
<Note> |
|
90
|
|
|
91
|
After creating your account, run `mcloud login` to authenticate the CLI with |
|
92
|
your new credentials. |
|
93
|
|
|
94
|
</Note> |