Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

docs(quickstart): merge Cloud Sandbox CLI and Website tabs

f-trycua53d7f1939022
diff --git a/docs/content/docs/get-started/quickstart.mdx b/docs/content/docs/get-started/quickstart.mdx
index 088ae3e644..e78049b950 100644
--- a/docs/content/docs/get-started/quickstart.mdx
+++ b/docs/content/docs/get-started/quickstart.mdx
@@ -27,22 +27,12 @@ Choose how you want to run your Cua computer. This will be the environment where
You can run your Cua computer in the cloud (recommended for easiest setup), locally on macOS with Lume, locally on Windows with a Windows Sandbox, or in a Docker container on any platform. Choose the option that matches your system and needs.
-<Tabs items={['Cloud Sandbox (Website)', 'Cloud Sandbox (CLI)', 'Linux on Docker', 'macOS Sandbox', 'Windows Sandbox']}>
- <Tab value="Cloud Sandbox (Website)">
+<Tabs items={['Cloud Sandbox', 'Linux on Docker', 'macOS Sandbox', 'Windows Sandbox']}>
+ <Tab value="Cloud Sandbox">
- Use the CUA website dashboard to create and manage cloud sandboxes that run Linux (Ubuntu), Windows, or macOS.
+ Create and manage cloud sandboxes that run Linux (Ubuntu), Windows, or macOS using either the website or CLI.
- 1. Go to [cua.ai/signin](https://cua.ai/signin)
- 2. Navigate to **Dashboard > Containers > Create Instance**
- 3. Create a **Small** sandbox, choosing **Linux**, **Windows**, or **macOS**
- 4. Note your sandbox name and API key
-
- Your Cloud Sandbox will be automatically configured and ready to use.
-
- </Tab>
- <Tab value="Cloud Sandbox (CLI)">
-
- Use the CUA CLI to quickly create and manage cloud sandboxes that run Linux (Ubuntu), Windows, or macOS.
+ **Option 1: Via CLI (Recommended)**
1. Install the CUA CLI:
```bash
@@ -53,26 +43,22 @@ You can run your Cua computer in the cloud (recommended for easiest setup), loca
powershell -ExecutionPolicy ByPass -c "irm https://cua.ai/cli/install.ps1 | iex"
```
- 2. Login to your CUA account:
+ 2. Login and create a sandbox:
```bash
cua login
- ```
-
- 3. Create a cloud sandbox:
- ```bash
- # Linux sandbox (recommended)
cua sb create --os linux --size small --region north-america
+ ```
- # Or Windows sandbox
- cua sb create --os windows --size small --region north-america
+ 3. Note your sandbox name and password from the output
- # Or macOS sandbox
- cua sb create --os macos --size small --region north-america
- ```
+ **Option 2: Via Website**
- 4. Note your sandbox name and password from the output
+ 1. Go to [cua.ai/signin](https://cua.ai/signin)
+ 2. Navigate to **Dashboard > Containers > Create Instance**
+ 3. Create a **Small** sandbox, choosing **Linux**, **Windows**, or **macOS**
+ 4. Note your sandbox name and API key
- Your Cloud Sandbox will be automatically configured and ready to use.
+ Your Cloud Sandbox will be automatically configured and ready to use with either method.
</Tab>
<Tab value="Linux on Docker">
@@ -146,28 +132,15 @@ Connect to your Cua computer and perform basic interactions, such as taking scre
Then, connect to your desired computer environment:
- <Tabs items={['Cloud Sandbox (CLI)', 'Cloud Sandbox (Website)', 'Linux on Docker', 'macOS Sandbox', 'Windows Sandbox', 'Your host desktop']}>
- <Tab value="Cloud Sandbox (CLI)">
- ```python
- from computer import Computer
-
- computer = Computer(
- os_type="linux", # or "windows" or "macos"
- provider_type="cloud",
- name="your-sandbox-name", # from CLI output
- api_key="your-api-key"
- )
- await computer.run() # Connect to the sandbox
- ```
- </Tab>
- <Tab value="Cloud Sandbox (Website)">
+ <Tabs items={['Cloud Sandbox', 'Linux on Docker', 'macOS Sandbox', 'Windows Sandbox', 'Your host desktop']}>
+ <Tab value="Cloud Sandbox">
```python
from computer import Computer
computer = Computer(
os_type="linux", # or "windows" or "macos"
provider_type="cloud",
- name="your-sandbox-name",
+ name="your-sandbox-name", # from CLI or website
api_key="your-api-key"
)
await computer.run() # Connect to the sandbox
@@ -251,26 +224,14 @@ Connect to your Cua computer and perform basic interactions, such as taking scre
Then, connect to your desired computer environment:
- <Tabs items={['Cloud Sandbox (CLI)', 'Cloud Sandbox (Website)', 'Linux on Docker', 'macOS Sandbox', 'Windows Sandbox', 'Your host desktop']}>
- <Tab value="Cloud Sandbox (CLI)">
- ```typescript
- import { Computer, OSType } from '@trycua/computer';
-
- const computer = new Computer({
- osType: OSType.LINUX, // or OSType.WINDOWS or OSType.MACOS
- name: "your-sandbox-name", // from CLI output
- apiKey: "your-api-key"
- });
- await computer.run(); // Connect to the sandbox
- ```
- </Tab>
- <Tab value="Cloud Sandbox (Website)">
+ <Tabs items={['Cloud Sandbox', 'Linux on Docker', 'macOS Sandbox', 'Windows Sandbox', 'Your host desktop']}>
+ <Tab value="Cloud Sandbox">
```typescript
import { Computer, OSType } from '@trycua/computer';
const computer = new Computer({
osType: OSType.LINUX, // or OSType.WINDOWS or OSType.MACOS
- name: "your-sandbox-name",
+ name: "your-sandbox-name", // from CLI or website
apiKey: "your-api-key"
});
await computer.run(); // Connect to the sandbox