# 1. Getting Started

#### Add dogs\_core, dogs\_generator and the serializers you want to use to your pubspec.yaml.

```yaml
dependencies:
  dogs_core: <version> 
  dogs_yaml: <version>
  dogs_cbor: <version>
  dogs_toml: <version>
  
dev_dependencies:
  build_runner: <version>
  dogs_generator: <version>
```

{% hint style="info" %}
JSON is included in dogs\_core and therefore has no separate package
{% endhint %}

#### Run the build\_runner once so the reactor file is generated

```bash
dart run build_runner build
```

#### Import and export the dogs.g.dart in your main class and run initialiseDogs()

```dart
import 'dogs.g.dart';
export 'dogs.g.dart';

void main() async {
  await initialiseDogs();
  [...]
}
```

Done! Dogs is now setup and ready to use!
