Skip to content

Your First Record

This tutorial walks you through creating your first Record in Phaset. You’ll learn both manual and automated approaches, so you can choose what works best for your workflow.

By the end of this tutorial, you’ll have:

  • Created a Record representing a piece of software
  • Understood the difference between manual and automated lifecycle management
  • (Optional) Set up automated updates via CI/CD
  • Phaset installed and running
  • Access to your Phaset organization
  • (For automation) A Git repository with CI/CD capabilities

Records in Phaset can be managed in two ways:

Manual lifecycle: You update Record information directly through the Phaset web application. Best for getting started, external tools, or SaaS products you don’t control.

Automated lifecycle: Record information lives in a phaset.manifest.json file in your Git repository and updates automatically via CI/CD. Best for custom-developed software where you want automation.

  1. Log into Phaset and navigate to the Catalog view.
  2. Click Create Record. Give it a name, then create it.
  3. Click Edit Record.
  4. Fill in any additional basic information:
    • Description: Brief description of what this software does
    • Kind: Select the type (service, library, website, etc.)
    • Lifecycle stage: Current stage (production, development, etc.)
  5. Add ownership information:
    • Owner email: The primary person or team responsible
    • Relation: Set to “owner”
  6. (Optional) Add additional context:
    • Tags: Keywords for easy searching
    • Links: Documentation, dashboards, or related URLs
    • System/Domain/Group: Organizational structure
  7. Click Save or Create.

You’re done! Your first Record is now visible in the Catalog. You can update it anytime by clicking into the Record and editing fields directly.

Step 3 (Optional): Automate updates via CI/CD

Section titled “Step 3 (Optional): Automate updates via CI/CD”

It’s time to set up CI/CD to push updates automatically to Phaset.

  1. In your GitHub repository, go to Settings > Secrets and variables > Actions.

  2. Add these secrets:

    • PHASET_ENDPOINT: Your Phaset URL (e.g., https://your-phaset-api.com)
    • PHASET_API_KEY: Your record’s API token from Step 2
    • PHASET_RECORD_ID: Your Record ID
    • PHASET_ORG_ID: Your Organization ID
  3. Create .github/workflows/phaset.yml in your repository:

name: Update Phaset
on:
push:
branches: [main]
jobs:
phaset:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Update Phaset Record
uses: phasetdev/phaset-action@v1
with:
endpoint: ${{ secrets.PHASET_ENDPOINT }}
api-key: ${{ secrets.PHASET_API_KEY }}
record-id: ${{ secrets.PHASET_RECORD_ID }}
org-id: ${{ secrets.PHASET_ORG_ID }}
  1. Commit and push this workflow file.
  2. The workflow will run automatically on the next push to main, updating your Record in Phaset.
  1. Navigate to the Catalog in Phaset.
  2. Find your newly updated Record (use search or filters if needed).
  3. Click on the Record to view its details.
  4. Verify that all information appears correctly.

For automated Records, make a small change to phaset.manifest.json, commit it, and verify that Phaset updates automatically after your CI/CD runs.

Now that you have your first Record, consider:

  • Create more Records: Document your entire software landscape for complete visibility.
  • Learn about metamodeling in Phaset: Extend your Records with powerful, yet simple, metamodeling to represent your Domains, Systems and Groups.
  • Define Baselines: Set organizational standards that Records should meet. See the Baselines guide.
  • Set up Metrics: Configure webhooks to track DORA metrics and engineering productivity. See the Integration guide.