Skip to content

Latest commit

 

History

History
115 lines (80 loc) · 2.62 KB

getting-started.md

File metadata and controls

115 lines (80 loc) · 2.62 KB

Getting Started

Before you begin

This plugin runs inside Cortex Code (CoCo), Snowflake's agentic IDE. Install CoCo before proceeding:

Once CoCo is running (v1.1.41+) and connected to Snowflake, continue below.

Install the plugin

cortex plugin install https://github.com/Snowflake-Labs/devops-snowflake-coco-agents

Prerequisites

Install and authenticate each tool before running the scaffold skill.

=== "GitHub"

**gh CLI**
```bash
# macOS
brew install gh

# Linux (Debian/Ubuntu)
sudo apt install gh

# Authenticate
gh auth login
gh auth status  # verify
```

=== "GitLab"

**glab CLI**
```bash
# macOS
brew install glab

# Linux
sudo apt install glab

# Authenticate
glab auth login
glab auth status  # verify
```

Snowflake CLI (both paths)

pip install snowflake-cli

Configure a connection in ~/.snowflake/connections.toml:

[connections.local-oauth]
account                          = "<your-account>"   # e.g. xy12345.us-east-1
user                             = "<your-user>"
authenticator                    = "OAUTH_AUTHORIZATION_CODE"
client_store_temporary_credential = true
role                             = "<your-role>"
database                         = "<your-database>"
snow connection test --connection local-oauth  # verify

Python 3.11+

Required for URL encoding and JSON parsing inside scaffold steps.

Choose your setup mode

When you describe what you want, CoCo routes automatically:

scaffold for agentic devops with GitHub
scaffold for agentic devops with GitLab
Quick start — cloud runners
  Create project → Snowflake OIDC → set secrets → re-enable CI → done (~10 min)

Full setup — with smoke test
  All steps including an end-to-end validation run with a sample app

For a first run, Quick start is recommended. You can always run the smoke test later.

Run the scaffold

In the CoCo chat panel, describe what you want:

scaffold for agentic devops with GitHub
scaffold for agentic devops with GitLab
scaffold for agentic devops          # choose platform interactively

Or use the explicit plugin command:

$devops-coco-agents:scaffold-for-github     # GitHub Actions
$devops-coco-agents:scaffold-for-gitlab     # GitLab CI
$devops-coco-agents:scaffold                # choose platform interactively

See GitHub scaffold or GitLab scaffold for the full 6-step walkthrough.