# Bootstrap an Entity Catalog
```rust
use port_sdk::apis::{entities, workflows};
use port_sdk::types::blueprints::BlueprintDefinition;
use port_sdk::types::entities::EntityRequest;
use port_sdk::{PortClient, PortConfig};
use serde_json::json;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let cfg = PortConfig::from_env()?;
let client = PortClient::from_config(cfg)?;
let blueprint = BlueprintDefinition {
identifier: "service".into(),
title: "Service".into(),
description: Some("Represents a deployable workload".into()),
};
let entity = EntityRequest::new(
"service-123",
"service",
Some(json!({
"owner": "platform-team",
"language": "rust"
})),
).title("Order Service");
workflows::bootstrap_blueprint(&client, &blueprint, &entity).await?;
println!("Bootstrap complete.");
Ok(())
}
```