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
- Add GitLab support into "Start Free with Cloud" documentation
- Add a document specific to GitLab Personal Access Tokens and Recce's requirements
Signed-off-by: Jared Scott <[email protected]>
Copy file name to clipboardExpand all lines: docs/2-getting-started/start-free-with-cloud.md
+42-32Lines changed: 42 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,34 +1,40 @@
1
1
---
2
-
title: Start free with Cloud
2
+
title: Start Free with Cloud
3
3
---
4
4
5
5
# Start Free with Recce Cloud
6
6
7
-
**Launch Recce in under 2 minutes**. Each following feature provides additional value. The progressive features help you get more value from Recce over time.
7
+
**Launch Recce in under 2 minutes**. Each following feature provides additional value. The progressive features help you
Recce shows what changed between **base** and **current** environments and helps assess potential impact. The most common case is comparing your development branch against your production or main branch to see what your changes will impact.
14
+
Recce shows what changed between **base** and **current** environments and helps assess potential impact. The most
15
+
common case is comparing your development branch against your production or main branch to see what your changes will
16
+
impact.
14
17
15
-
You can:
18
+
You can:
16
19
17
20
- Explore with the pre-loaded Jaffle Shop data
18
21
- Upload your metadata (see below)
19
-
-**Skip manual upload go directly to [CI/CD automation](#cicd-automation)**
22
+
-**Skip manual upload go directly to [CI/CD automation](#cicd-automation)**
20
23
21
24
<!-- insert a video -->
22
25
23
26
### Upload Metadata
27
+
24
28
- Web interface: Click "Update" on the session you want to update in Recce Cloud.
25
-
1. Click "Update" in base session to upload baseline metadata
26
-
2. Click "Update" in current session to upload comparison metadata
27
-
3. Click "Launch" to compare current against base
29
+
1. Click "Update" in base session to upload baseline metadata
30
+
2. Click "Update" in current session to upload comparison metadata
Deploy → Jobs → CI job → Recent run → Download artifacts
74
79
75
-
76
80
## Data Warehouse Diffing {#data-diffing}
77
81
78
-
Go beyond metadata to see how changes affect your actual data. Configure your data warehouse connection to compare query results and catch issues before they impact production.
82
+
Go beyond metadata to see how changes affect your actual data. Configure your data warehouse connection to compare query
83
+
results and catch issues before they impact production.
79
84
80
85
### Setup Requirements
81
86
@@ -99,7 +104,8 @@ Configure connection to your data warehouse to enable query result comparisons.
99
104
2. Create a new connection or select an existing one from the dropdown
100
105
3. Your connection is linked and ready to use
101
106
102
-
For detailed connection settings, see [Connect to Warehouse](../5-data-diffing/connect-to-warehouse.md). Connection credentials are encrypted and secure - see our [security practices](https://reccehq.com/security/).
107
+
For detailed connection settings, see [Connect to Warehouse](../5-data-diffing/connect-to-warehouse.md). Connection
108
+
credentials are encrypted and secure - see our [security practices](https://reccehq.com/security/).
103
109
104
110
<!-- insert a video -->
105
111
@@ -114,52 +120,56 @@ Recce supports several data diffing methods. See Data Diffing sections for detai
| • GitHub repository with dbt project<br>• Repository admin access for initial setup<br>• Active PRs with model changes| • GitLab project with dbt project<br>• Project maintainer or owner access for initial setup<br>• Active merge requests with model changes |
126
133
127
134
!!!Note
128
-
You'll need administrative access to the GitHub organization you want to connect. Please ensure you have the necessary permissions for **GitHub App installations**.
135
+
You'll need administrative access to the Organization/Group you want to connect. Please ensure you have the necessary
136
+
permissions for **App installations** (GitHub) or **Providing a Personal Access Token** (GitLab).
129
137
130
-
### GitHub Connection
138
+
### Connection
131
139
132
-
Connect your repository to track pull requests and validate changes.
140
+
Connect your repository to track pull requests/merge requests and validate changes.
141
+
142
+
!!!Note
143
+
Keep **Connection setup** note the same as before if there was one specific to this section.
| 1. Navigate to settings<br>2. Connect GitHub repository<br>3. Authorize Recce access<br>4. Select repository | 1. Navigate to settings<br>2. Connect GitLab by providing a Personal Access Token ([see our directions here](../7-cicd/gitlab-pat-guide.md))<br>3. Connect a project by adding a GitLab Project or URL to a Recce Project |
140
150
141
151
<!-- insert a video -->
142
152
143
-
### How to Use PR Tracking
153
+
### How to Use PR/MR Tracking
144
154
145
-
Once connected, Recce displays all open and draft PRs in your dashboard.
155
+
Once connected, Recce displays all open and draft PRs/MRs in your dashboard.
146
156
147
-
### PR Validation Workflow
157
+
### PR/MR Validation Workflow
148
158
149
-
- View open/draft PRs in dashboard
150
-
- Select PR to validate
151
-
- Upload PR metadata (until CI/CD is configured)
159
+
- View open/draft PRs/MRs in dashboard
160
+
- Select PR/MR to validate
161
+
- Upload PR/MR metadata (until CI/CD is configured)
152
162
- Launch Recce to analyze changes
153
163
154
-
155
164
## CI/CD Automation {#cicd-automation}
156
165
157
-
Set up CI/CD to automatically upload metadata and run validation checks on every PR.
166
+
Set up CI/CD to automatically upload metadata and run validation checks on every PR.
|`api`| Full API access (read and write) | • View and track merge requests<br>• **Receive generated summaries and notes on MRs from Recce**<br>• Full integration capabilities |
17
+
|`read_api`| Read-only API access | • View and track merge requests<br>• **Cannot receive generated summaries and notes on MRs from Recce**|
18
+
19
+
!!!warning "Important: Choose the Right Scope"
20
+
If you want Recce to automatically post validation summaries and notes directly to your merge requests, you **must** use
21
+
the `api` scope. The `read_api` scope only allows Recce to read merge request information but cannot write comments or
22
+
summaries back to GitLab.
23
+
24
+
## How to Create a Personal Access Token
25
+
26
+
Follow these steps to create a Personal Access Token in GitLab:
27
+
28
+
1.**Navigate to [Personal Access Token Settings in GitLab](https://gitlab.com/-/user_settings/personal_access_tokens)**
29
+
30
+
2.**Create New Token**
31
+
- Click **Add new token** button
32
+
- Enter a descriptive **Token name** (e.g., "Recce Integration")
33
+
- Set an **Expiration date**
34
+
35
+
3.**Select Scopes**
36
+
37
+
Choose one of the following based on your needs:
38
+
39
+
**Option A: Full Integration (Recommended)**<br>
40
+
- ✅ `api` scope<br>
41
+
- This enables Recce to post validation summaries and notes to your merge requests
42
+
43
+
**Option B: Read-Only Access**<br>
44
+
- ✅ `read_api` scope<br>
45
+
- ⚠️ You will **not** receive generated PR summaries and notes on your MRs from Recce
46
+
47
+
4.**Generate Token**
48
+
- Click **Create personal access token**
49
+
-**Important**: Copy the token immediately - you won't be able to see it again!
50
+
51
+
5.**Save Token Securely**
52
+
- Store the token in a secure location
53
+
54
+
55
+
## Using Your Token with Recce
56
+
57
+
Once you have your Personal Access Token:
58
+
59
+
1. Navigate to Recce settings
60
+
2. Select GitLab integration
61
+
3. Paste your Personal Access Token
62
+
4. Complete the connection setup
63
+
64
+
## Troubleshooting
65
+
66
+
**Token not working?**
67
+
68
+
- Verify you've selected the correct scope (`api` or `read_api`)
69
+
- Check that the token hasn't expired
70
+
- Ensure you have appropriate project permissions (Maintainer or Owner role)
71
+
72
+
**Not receiving summaries on merge requests?**
73
+
74
+
- Verify your token uses the `api` scope (not just `read_api`)
75
+
- Check that Recce has write permissions to your project
76
+
77
+
**Still having issues?**
78
+
79
+
- Please reach out to us on [our Discord](https://discord.gg/HUUx9fyphJ) or via email at `[email protected]`
0 commit comments