You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `aieng-platform-onboard` package provides a command-line tool for bootcamp participant onboarding, authentication, environment setup, and admin operations.
3
+
The `aieng-platform-onboard` package provides command-line tools for bootcamp participant onboarding, authentication, and administration.
4
4
5
5
## Installation
6
6
7
7
```bash
8
8
pip install aieng-platform-onboard
9
9
```
10
10
11
-
## Commands
11
+
## Overview
12
12
13
-
### `onboard`
13
+
The CLI provides two main commands:
14
14
15
-
Main command for onboarding bootcamp participants with team-specific API keys.
15
+
-**`onboard`** - Participant onboarding with team-specific API keys
16
+
-**`onboard admin`** - Admin commands for managing participants and teams
16
17
17
-
### `onboard admin`
18
+
---
18
19
19
-
Admin commands for managing participants and teams.
20
+
## Participant Onboarding
20
21
21
-
#### Usage
22
+
Main command for onboarding bootcamp participants with team-specific API keys.
23
+
24
+
### Usage
22
25
23
26
```bash
24
27
onboard [OPTIONS]
25
28
```
26
29
27
-
#### Participant Onboarding
30
+
### Options
31
+
32
+
#### Required
33
+
34
+
| Option | Description | Example |
35
+
|--------|-------------|---------|
36
+
|`--bootcamp-name`| Name of the bootcamp |`--bootcamp-name fall-2025`|
37
+
|`--test-script`| Path to integration test script |`--test-script tests/integration/test_api_keys.py`|
38
+
39
+
#### Optional
40
+
41
+
| Option | Description | Default |
42
+
|--------|-------------|---------|
43
+
|`--gcp-project`| GCP project ID |`coderd`|
44
+
|`--output-dir`| Directory for .env file |`.` (current directory) |
45
+
|`--firebase-api-key`| Firebase Web API key for token exchange | (from `FIREBASE_WEB_API_KEY` env var) |
46
+
|`--skip-test`| Skip integration tests |`False`|
47
+
|`--force`| Force re-onboarding even if already onboarded |`False`|
48
+
|`--admin-status-report`| Display onboarding status for all participants (admin only) |`False`|
49
+
|`--version`| Show version number and exit | - |
50
+
51
+
### Onboarding Process
28
52
29
-
Standard onboarding flow for bootcamp participants:
53
+
The participant onboarding flow consists of 9 steps:
30
54
55
+
1.**Identify Participant** - Detects GitHub username from environment
56
+
2.**Fetch Authentication Token** - Retrieves fresh token from service
57
+
3.**Connect to Firestore** - Initializes secure Firestore connection
58
+
4.**Fetch Your Profile** - Reads participant data and team assignment
59
+
5.**Fetch Team API Keys** - Retrieves team-specific API keys
60
+
6.**Fetch Global Configuration** - Fetches shared configuration keys
61
+
7.**Create Environment File** - Generates .env file with all keys
62
+
8.**Run Integration Test** - Validates API keys (optional)
63
+
9.**Mark as Onboarded** - Updates participant status in Firestore
0 commit comments