Getting Started with Digital Product Passports
Joel Murphy
5 min read
Updated June 15, 2025
This guide will walk you through the process of implementing Digital Product Passports (DPPs) in your business, from initial setup to creating your first passport.
Prerequisites
- An active Digital Passports Hub account
- Your API credentials
- Basic understanding of your product data structure
Initial Setup
First, install our SDK using your preferred package manager:
npm install @digital-passports/sdk
Configuration
Initialize the SDK with your API credentials:
import { DigitalPassport } from '@digital-passports/sdk';
const dpp = new DigitalPassport({
apiKey: 'your_api_key',
environment: 'production'
});
Creating Your First Passport
Here's an example of creating a basic Digital Product Passport:
const passport = await dpp.createPassport({
sku: "TSHIRT-M-001",
name: "Organic Cotton T-Shirt",
materials: [
{ name: "Organic Cotton", percentage: 100 }
],
sustainability: {
certifications: ["GOTS", "Fair Trade"],
carbonFootprint: "2.3kg CO2e"
}
});
Was this article helpful?
In This Article
Related Articles
Need More Help?
Can't find what you're looking for? Our support team is here to help.