βš“ Core Foundation universal

πŸ”§ Deployment Pipeline & Environments

Define and provision the Salesforce environment strategy β€” dev, QA, SIT, UAT, and production sandboxes with clear ownership, username conventions, appropriate deployment and data seeding tooling, and a repeatable promotion path for Kaptio package upgrades.

πŸ“
6
Steps
✨
4
Features
⏱️
1-2 weeks
Duration

πŸ”— Prerequisites

✨

Features

What you get with this outcome

Ship with Confidence

Every Kaptio implementation needs a clear path from development to production. The deployment pipeline defines which Salesforce orgs exist, who owns them, how changes flow between them, and how Kaptio package upgrades are promoted safely. Getting this right from day one prevents environment drift, broken deployments, and the accumulation of deprecated sandboxes.

πŸ—ΊοΈ

Visual coming soon

Environment Strategy

Environment Strategy

Map out your Salesforce org landscape β€” development sandboxes for Kaptio engineering, QA for validation, SIT for integration testing, UAT for business acceptance, and production for live operations. Each org has a clear owner and purpose.

  • βœ“Clear org map with ownership assignments
  • βœ“Purpose-defined environments prevent data contamination
  • βœ“Scalable from simple (3-org) to complex (10+ org) strategies
  • βœ“Deprecation path for retired environments
πŸ‘€

Visual coming soon

Username Conventions

Username Conventions

Standardize user naming across all orgs using the {email}.orgname pattern. This prevents login conflicts, simplifies user management, and makes it immediately clear which org a user belongs to.

  • βœ“Consistent naming across all environments
  • βœ“No login conflicts between sandboxes
  • βœ“Easy identification of org context
  • βœ“Simplified user provisioning
πŸš€

Visual coming soon

Deployment & Data Seeding Tooling

Deployment & Data Seeding Tooling

Select and configure appropriate tooling for managed deployments and data seeding between environments. Automate the promotion of metadata, configuration, and data from dev through to production with audit trails and rollback capability. Common tools include Gearset, Copado, or Salesforce DevOps Center.

  • βœ“Deployment promotion pipeline configured
  • βœ“Audit trail for all deployments
  • βœ“Rollback capability for failed deployments
  • βœ“Repeatable deployment runbooks
πŸ“‹

Visual coming soon

Promotion Path

Promotion Path

Define how changes flow from development through to production β€” which gates exist, who approves promotions, and what testing is required at each stage. Includes the process for Kaptio managed package upgrades.

  • βœ“Clear promotion gates and approval workflows
  • βœ“Kaptio package upgrade runbook
  • βœ“Sandbox refresh strategy and scheduling
  • βœ“Data management between environments
πŸ—ΊοΈ

User Journey

Step-by-step flow from start to finish

πŸ—ΊοΈUser Journey Flow

Follow the steps from start to finish

ACTORS:
πŸ‘€
System Admin
πŸ‘€
IT Director
πŸ“‹

Implementation Plan

How to implement this outcome

πŸ“… Project Overview

1-2 weeks medium complexity
1

Environment Design

1-2 days
  • β€’ Document environment strategy (org map)
  • β€’ Agree ownership model (Kaptio vs customer)
  • β€’ Define username convention
  • β€’ Plan sandbox provisioning
2

Provisioning & Configuration

2-3 days
  • β€’ Provision development and QA sandboxes
  • β€’ Provision SIT and UAT sandboxes
  • β€’ Create users with naming convention
  • β€’ Configure deployment promotion pipeline
3

Validation

1-2 days
  • β€’ Test promotion from dev to QA
  • β€’ Test promotion from QA to SIT
  • β€’ Document deployment runbook
πŸ“š

Resources

Configs, tools, and documentation to help you

Environment Strategy

Every Kaptio implementation follows a standard environment pipeline. The number and configuration of environments scales with the complexity of the implementation.

Standard Environment Pipeline

EnvironmentOwnerPurposeData
DevKaptioInitial configuration and developmentTemplate + test data
QAKaptioQA validation and deployment rehearsalPromoted from Dev via deployment tooling
SITCustomerIntegration testing, story acceptancePromoted from QA via deployment tooling
UATCustomerEnd-user acceptance testing, trainingPromoted from SIT via deployment tooling
ProductionCustomerLive operationsGo-live cutover

Username Convention

When creating users across multiple orgs, use the naming pattern:

{email}.orgname

Example: For a user ivan.gakic@kaptio.com in the Dev org named kaptiodev:

  • Username: ivan.gakic@kaptio.com.kaptiodev

This prevents login conflicts between sandboxes and makes it immediately clear which org a user session belongs to.

Deployment & Data Seeding Tooling

The appropriate tooling for environment deployments and data seeding is chosen per implementation. Common options include Gearset, Copado, Salesforce DevOps Center, or SFDX-based pipelines. The chosen tool should provide:

  • Comparison jobs between environments
  • Managed deployments with conflict resolution
  • Audit trail for all promotions
  • Rollback capability for failed deployments
  • Data seeding to populate environments with representative test data

Promotion Path

Changes flow in one direction through the pipeline:

Dev -> QA -> SIT -> UAT -> Production

Each gate requires:

  1. Successful deployment in the source environment
  2. Test pass at the appropriate level (unit, integration, acceptance)
  3. Approval from the gate owner (Kaptio for dev->QA, customer for SIT->UAT->Prod)

Sandbox Refresh Strategy

Sandboxes should be refreshed periodically to stay aligned with production:

  • Full sandboxes (SIT, UAT): Refresh quarterly or before major releases
  • Developer sandboxes (Dev, QA): Refresh as needed, more frequently
  • After refresh: Re-apply Kaptio package, re-create test data, verify integrations

Lessons from Real Implementations

  • Never install beta packages on shared environments β€” use dedicated scratch orgs or developer sandboxes
  • Deprecate unused environments formally β€” document the decision and remove access
  • Keep a single shared admin credential only as a last resort β€” prefer per-user accounts with appropriate profiles
  • Plan for integration environments separately when third-party systems can only connect to a single sandbox
⚠️

Common Pitfalls

Avoid these implementation mistakes

!

Accumulating deprecated sandboxes without cleaning them up β€” creates confusion and wastes Salesforce sandbox allocation

!

Installing beta packages on shared environments β€” can break an org permanently (as seen in real implementations)

!

Sharing admin credentials via password managers instead of per-user accounts β€” creates audit trail gaps

!

Skipping the SIT environment β€” integration issues surface too late if you go straight from QA to UAT

!

Not planning sandbox refreshes β€” environments drift from production over time, making deployments unreliable

!

Mixing test data with real data in shared environments β€” hard to distinguish and clean up