Getting Started (5–10 minutes)
Last updated: 2026-02-05
This guide is designed so you can get a working link in minutes.
1) Create a project
In the dashboard:
- Go to Projects
- Click New Project
- Choose a subdomain (example:
myapp)
You’ll get a domain like:
https://myapp.traput.link
2) Create an API key
- Open your project
- Go to API Keys
- Click Create API Key
- Copy the key (you can’t view it again later)
3) Create your first link
- Open your project
- Go to Links
- Click New Link
- Set at least one destination (deep link, store, or web URL)
4) Add the Flutter SDK
In pubspec.yaml:
dependencies:
traput_dynamic_linking: ^0.1.0
Then:
flutter pub get
5) Initialize + listen for links
import 'package:flutter/material.dart';
import 'package:traput_dynamic_linking/traput_dynamic_linking.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
Traput.initialize(
apiKey: const String.fromEnvironment('TRAPUT_API_KEY'),
baseUrl: const String.fromEnvironment(
'TRAPUT_BASE_URL',
defaultValue: 'https://api.traput.link',
),
);
Traput.onLink((link) {
print('Traput link received: ${link.uri} deferred=${link.isDeferred}');
});
runApp(const MyApp());
}
Run:
flutter run --dart-define=TRAPUT_API_KEY=your-api-key-here
6) Test direct + deferred
Follow /docs/testing.