Welcome to the Trezor Suite® Developer Portal
        What this guide covers
        This presentation walks you through the Developer Portal: overview, account setup, integrating with the Suite API, security best practices, testing, deployment and troubleshooting. It’s crafted for engineers, product managers, and technical writers who need a concise but thorough onboarding resource.
        Why the Developer Portal matters
        The Portal centralizes documentation, interactive API consoles, SDK downloads, sample apps, and changelogs. A well-structured portal reduces integration time and helps keep user funds safe through consistent cryptographic patterns and UI expectations.
        
      
      
      
        
        Creating your Developer Account
        Step-by-step registration
        
          - Visit the Developer Portal and click "Sign up". Use a dedicated work email to keep developer credentials separate from personal accounts.
 
          - Verify your email and enable two-factor authentication (2FA). Trezor strongly recommends 2FA to protect API keys and access to dashboards.
 
          - Complete your developer profile and accept the Terms of Use and API license to access keys and sandbox resources.
 
        
        Tips for teams
        
          - Create a shared team account or workspace to manage projects and API keys centrally.
 
          - Assign roles (admin, developer, viewer) to control access to secrets and live environments.
 
        
        
      
      
      
        
        Portal Layout & Navigation
        Main sections you'll use
        
          - Docs: API reference, migration guides, SDKs and samples.
 
          - API Console: Interactive playground for requests against sandbox endpoints.
 
          - Keys & Secrets: Create, rotate, and revoke API credentials and webhooks.
 
          - Changelog: Track releases and breaking changes with clear migration notes.
 
        
        Accessibility and search
        The portal includes a robust search and keyboard-first navigation to help you find endpoints, code samples, and error codes quickly. Use filters to narrow by language (TypeScript, Python, Go) or by component (wallet, exchange, integrations).
        Quick shortcut
        Press / to focus search immediately within the Portal UI.
      
      
      
        
        Authentication & API Keys
        Types of credentials
        
          - Sandbox Key: For development and testing only.
 
          - Production Key: Issued after review for apps that will handle real assets.
 
        
        Best practices
        
          - Store keys in secure vaults (e.g., HashiCorp Vault, Azure Key Vault).
 
          - Rotate keys regularly and revoke unused keys immediately.
 
          - Use least-privilege scopes — request only the scopes your integration needs.
 
        
        Sample header
        Authorization: Bearer <YOUR_API_KEY>
      
      
      
        
        SDKs & Quickstart
        Available SDKs
        Official SDKs provide idiomatic wrappers around the REST and WebSocket APIs. Typical SDKs include TypeScript, Python, Go, and a lightweight CLI. Use the SDK to abstract low-level signing calls and to manage device discovery.
        Quickstart example (TypeScript)
        import { TrezorClient } from 'trezor-suite-sdk';
const client = new TrezorClient({ apiKey: process.env.TREZOR_API_KEY });
await client.connect();
const info = await client.getDeviceInfo();
console.log(info);
        Where to run
        Start in a local sandbox environment before connecting to devices attached to your CI or staging servers.
      
      
      
        
        Wallet Integration Patterns
        Common integration models
        
          - Embedded flow: Directly call Suite APIs from a web or desktop app and prompt users to connect a Trezor device.
 
          - Server-mediated flow: Use the backend to orchestrate wallet operations and send signed payloads to the client for final confirmation.
 
          - Delegated custody: For custodial services, combine Suite features with enterprise KMS and hardware modules.
 
        
        UX tips
        
          - Always show clear instructions before device prompts appear.
 
          - Handle device disconnects gracefully and provide retry options.
 
        
      
      
      
        
        Security, Privacy & Compliance
        Key principles
        
          - Minimize attack surface: limit public endpoints, validate inputs, and use CSP and secure cookies.
 
          - Data protection: never store private keys or seed phrases—only encrypted metadata and policies.
 
          - Regulatory compliance: be aware of local laws on custodial services and KYC/AML requirements where applicable.
 
        
        Incident response
        Have a runbook for key compromise: revoke keys, notify impacted parties, and rotate affected secrets. Maintain a public status page and coordinate through secure channels for disclosure.
      
      
      
        
        Testing, QA & Sandbox Environments
        Make the sandbox your first environment
        Use sandbox endpoints and mock devices to run automated tests. CI pipelines should include end-to-end tests that simulate device interactions and error conditions.
        Test cases to include
        
          - Device connection and enumeration across OSes.
 
          - Signing flows for multiple currencies and chains.
 
          - Failure modes: device removal, malformed payloads, and rate-limiting scenarios.
 
        
        Monitoring
        Aggregate logs in a centralized system; alert on anomalous error rates or unexpected latency spikes.
      
      
      
        
        Troubleshooting & Support
        Common problems and fixes
        
          - Device not recognized: ensure drivers/permissions are correct and the device firmware is up to date.
 
          - API errors (4xx/5xx): validate request format and check rate limits; inspect error codes returned by the API.
 
          - Permission denied: verify API key scopes and workspace role assignments.
 
        
        How to file a support ticket
        Collect logs, API request IDs, and device information. Create a ticket through the Portal support center and attach sanitized logs to speed up triage.
        Community resources
        Leverage forums, Discord channels, or GitHub issues for integration help and sample code contributed by the community.
      
      
      
        
        Launch Checklist & Next Steps
        Before you go live
        
          - Security review and penetration test completed.
 
          - Key rotation and least-privilege policies in place.
 
          - Monitoring, alerting, and incident runbooks validated.
 
          - Documentation and user help resources published.
 
        
        Post-launch
        Collect telemetry, iterate on UX flows that have drop-off, and keep SDKs and docs up to date with changelog entries for every release. Maintain a clear deprecation policy so integrators can plan migrations.
        Useful links & exports
        Download editable Office formats (PowerPoint, Word) for internal sharing. Use the Portal’s export tool to create slide decks or documentation bundles.