Complete DPP Workflow Guide

Step-by-Step: From Organization Onboarding to DPP Creation
Complete process for creating Digital Product Passports from scratch
Guide Type
Step-by-Step
Duration
30-60 minutes
Prerequisites
Domain & CSV Data
Difficulty
Beginner

Quick Start: Auto-Generate Commands

Workflow Generator

Use the workflow generator to automatically create all commands for your organization:

# Generate complete workflow commands (includes contract deployment)
thor orobo:admin:workflow:generate "Your Organization Name" "yourdomain.com"
# Generate with custom CSV file and options
thor orobo:admin:workflow:generate "Acme Corp" "acme.com" \
  --csv-file="path/to/your/data.csv" \
  --template="Electronics DPP EU ESPR" \
  --network=testnet
# Validate prerequisites before starting
thor orobo:admin:workflow:validate "Your Organization" "yourdomain.com"
# Quick minimal setup (includes contract deployment)
thor orobo:admin:workflow:quick "Your Organization" "yourdomain.com"

Step 1: Organization Onboarding

1.1 Create Organization Account

Onboarding Steps:

  1. 1 Getting Started - Welcome & Introduction
  2. 2 Your Information - User Registration
  3. 3 Organization Info - Company Details & Address
  4. 4 Subscription - Plan Selection (Basic/Standard/Pro)
  5. 5 Domain Verification - DNS Verification Setup
  6. 6 Completion - Success & Next Steps

1.2 Complete Web Onboarding

Fill out the onboarding form with:

  • User details (name, email, password)
  • Organization information (company name, address)
  • Select subscription plan
  • Add your domain for verification

Step 2: Deploy IOTA Smart Contract

2.1 Deploy Contract (Required for DPP blockchain storage)

Deploy Command

# Deploy the IOTA Move contract for DPP traceability
thor orobo:admin:contracts:deploy --network=testnet

This will:

  • Build the Move contract
  • Deploy it to IOTA testnet
  • Generate Package ID and Contract Address
  • Save to config/contracts/testnet.json

2.2 Configure Environment Variables

After deployment, add these to your .env file:

# Required for DPP blockchain operations
IOTA_CONTRACT_ADDRESS=0x... # Contract object ID from deployment
IOTA_PACKAGE_ID=0x... # Package ID from deployment
IOTA_MODULE_NAME=traceability # Contract module name

# Required for identity operations
IOTA_NETWORK=testnet
IOTA_OWNER_SEED=iotaprivkey1... # Your private key

2.3 Verify Contract Deployment

# Check contract addresses
thor orobo:admin:contracts:addresses
# Verify contract functionality
thor orobo:admin:contracts:verify <contract_address>

Step 3: Domain Verification

3.1 Add DNS Record

The onboarding process will provide you with a DNS record to add:

# Add this CNAME record to your domain's DNS
orobo-dpp-id.yourdomain.com CNAME id-manager.orobo.tech

3.2 Verify Domain via Thor

# Check domain verification status
thor orobo:admin:domains:verify yourdomain.com --organization-name="Your Organization"
# Example:
thor orobo:admin:domains:verify acme-corp.com --organization-name="Acme Corporation"

Step 4: Create Digital Identity (DID)

4.1 Create IOTA Identity

# Create digital identity for the verified domain
thor orobo:admin:domains:create_identity yourdomain.com --method=iota
# Example:
thor orobo:admin:domains:create_identity acme-corp.com --method=iota

4.2 Verify Identity Creation

# Check identity status
thor orobo:admin:domains:status yourdomain.com

Step 5: Prepare Product Template

5.1 Check Available Templates

# List available product templates
thor orobo:admin:templates:list

5.2 Create Template (if needed)

# Create a construction materials template for the CSV
thor orobo:admin:templates:create "Construction Materials" --industry=construction

Step 6: Import DPPs from CSV

6.1 Analyze CSV File

First, analyze the CSV to understand its structure:

# First, analyze the CSV to understand its structure
thor orobo:admin:dpps:import_csv \
  --file=db/seed_data/dpps/re-use/ElementenPoslijstUniqueItemsReUse.csv \
  --organization="Your Organization Name" \
  --template="Construction Materials" \
  --dry-run

Expected Output:

🔋 Starting CSV DPP import
  File: db/seed_data/dpps/re-use/ElementenPoslijstUniqueItemsReUse.csv
  Organization: Your Organization Name
  Template: Construction Materials
  Dry run: Yes

📊 CSV Analysis:
  Total rows: 271
  Headers: DPP,Bronbestand,Gebouw,Toepassing,Naam,Profiel,Materiaal,Lengte (mm),Aantal,Pos.

📦 DPP Grouping (by DPP):
  DPP 1: Items: BOVENREGEL, ONDERREGEL, STIJL
  DPP 2: Items: BOVENREGEL, ONDERREGEL, STIJL
  ...

📋 Summary:
  Would create: 35 DPPs

6.2 Show Field Mapping

# Check how CSV fields will map to template fields
thor orobo:admin:dpps:import_csv \
  --file=db/seed_data/dpps/re-use/ElementenPoslijstUniqueItemsReUse.csv \
  --organization="Your Organization Name" \
  --template="Construction Materials" \
  --show-mapping

6.3 Import DPPs

# Import the DPPs for real
thor orobo:admin:dpps:import_csv \
  --file=db/seed_data/dpps/re-use/ElementenPoslijstUniqueItemsReUse.csv \
  --organization="Your Organization Name" \
  --template="Construction Materials" \
  --auto-publish

Expected Output:

🔋 Starting CSV DPP import
✅ CSV DPP import complete:
  Created: 35 DPPs
  Errors: 0

📋 Created DPPs:
  â€¢ Construction Element DPP001 (CE001) - published
  â€¢ Construction Element DPP002 (CE002) - published
  â€¢ Construction Element DPP003 (CE003) - published
  ...

Step 7: Verify DPP Creation

7.1 List Created DPPs

# List DPPs for your organization
thor orobo:admin:dpps:list --organization="Your Organization Name"

7.2 Check DPP Status

# Check overall DPP seeding status
thor orobo:admin:dpps:status

Expected Output:

📊 DPP Seeding Status

Total DPPs: 35
  Published: 35
  Draft: 0
  Archived: 0

Organizations with DPPs:
  Your Organization Name: 35 DPPs

DPPs with images: 0 / 35
Blockchain hashes: 35

Step 8: Test Blockchain Integration

8.1 Test IOTA Connection

# Test IOTA blockchain connection
thor orobo:admin:iota:test_connection

8.2 Test DPP Blockchain Integration

# Test DPP blockchain operations
thor orobo:admin:dpps:test_blockchain

Step 9: Access Your DPPs

9.1 Web Interface

Visit your Rails application and navigate to:

  • Dashboard: http://localhost:3000/dashboard
  • DPPs List: http://localhost:3000/dpps

9.2 API Access

# Get DPPs via the partner API (OAuth2 token with dpps:read, see /documents/external-api)
curl -H "Authorization: Bearer $OAUTH_ACCESS_TOKEN" \
     http://localhost:3000/api/v2/dpps

Complete Example Workflow

Here's the complete command sequence for a typical workflow:

# 1. Complete web onboarding first at http://localhost:3000/onboarding

# 2. Verify domain (replace with your actual domain and org ID)
thor orobo:admin:domains:verify
yourdomain.com 1
# 3. Create digital identity
thor orobo:admin:identity:create
yourdomain.com 1 --method=iota
# 4. Check available templates
thor orobo:admin:templates:list

# 5. Analyze CSV structure
thor orobo:admin:dpps:import_csv
\
  --file=db/seed_data/dpps/re-use/ElementenPoslijstUniqueItemsReUse.csv \
  --organization="Your Organization Name" \
  --template="Construction Materials" \
  --dry-run
# 6. Import DPPs
thor orobo:admin:dpps:import_csv
\
  --file=db/seed_data/dpps/re-use/ElementenPoslijstUniqueItemsReUse.csv \
  --organization="Your Organization Name" \
  --template="Construction Materials" \
  --auto-publish
# 7. Verify creation
thor orobo:admin:dpps:status

# 8. Test blockchain integration
thor orobo:admin:dpps:test_blockchain

Understanding the CSV Structure

The ElementenPoslijstUniqueItemsReUse.csv file contains construction elements with this structure:

Column Description Example
DPP DPP grouping ID 1, 2, 3...
Bronbestand Source file DK17, DK18, BU_1...
Gebouw Building Hoofdgebouw, Bijgebouw
Toepassing Application vloer, muur, wand
Naam Element name BOVENREGEL, STIJL, LATEI
Profiel Profile CC200-2-15-50, CC100-1.5-15-50
Materiaal Material S280GD
Lengte (mm) Length in mm 841, 3433, 5651
Aantal Quantity 1, 2, 7
Pos. Position B9, O9, S226

Each unique DPP ID groups multiple construction elements into a single Digital Product Passport.

Troubleshooting

Common Issues

1. Domain Verification Fails

# Check DNS propagation
nslookup orobo-dpp-id.yourdomain.com
# Retry verification
thor orobo:admin:domains:verify yourdomain.com 1 --force

2. Organization Not Found

# List organizations
thor orobo:admin:organizations:list
# Use exact organization name or ID
thor orobo:admin:dpps:import_csv --organization=1 # Use ID instead

3. Template Not Found

# List available templates
thor orobo:admin:templates:list
# Create missing template
thor orobo:admin:templates:create "Construction Materials"

4. IOTA Connection Issues

# Check IOTA configuration
thor orobo:admin:iota:status
# Test connection
thor orobo:admin:iota:test_connection

Next Steps

After successfully creating DPPs:

Customize Templates

Modify product templates to match your specific requirements

Add Images

Upload product images to enhance DPP presentation

Configure QR Codes

Generate QR codes for physical product linking

Set up API Integration

Integrate with your existing systems

Configure Notifications

Set up email notifications for DPP updates

Explore Analytics

Use the dashboard to monitor DPP usage and performance

Additional Resources

Technical Guides

Advanced Topics

Document Summary

Complete Step-by-Step Workflow • Organization Onboarding to DPP Creation • CSV Import & Blockchain Verification

Auto-Generated Commands • Troubleshooting Guide • Next Steps & Resources

This guide provides a complete workflow for creating DPPs from organization onboarding through CSV import and blockchain verification, with automated command generation for streamlined implementation.

Last updated: July 19, 2026