In your Flutter project directory, open **pubspec.yaml**. > You will already have configured Amplify by following the steps in the project setup. Add Analytics by adding these libraries into your dependencies block: ```yaml environment: sdk: '>=2.18.0 <4.0.0' dependencies: amplify_analytics_pinpoint: ^1.0.0 amplify_auth_cognito: ^1.0.0 amplify_flutter: ^1.0.0 ```