Getting Started
Get up and running with Trusted Server quickly.
Prerequisites
Before you begin, ensure you have:
- Rust 1.91.1 (see
.tool-versions) - Fastly CLI installed
- A Fastly account and API key
- Basic familiarity with WebAssembly
Installation
Clone the Repository
bash
git clone https://github.com/IABTechLab/trusted-server.git
cd trusted-serverFastly CLI Setup
Install and configure the Fastly CLI using the Fastly setup guide.
Install Viceroy (Test Runtime)
bash
cargo install viceroyLocal Development
Build the Project
bash
cargo buildRun Tests
bash
cargo testStart Local Server
bash
fastly compute serveThe server will be available at http://localhost:7676.
Configuration
Edit trusted-server.toml to configure:
- Ad server integrations
- KV store mappings
- Synthetic ID templates
- GDPR settings
See Configuration for details.
Deploy to Fastly
bash
fastly compute publishNext Steps
- Learn about Synthetic IDs
- Understand GDPR Compliance
- Configure Ad Serving