diff --git a/src/pages/[platform]/start/quickstart/index.mdx b/src/pages/[platform]/start/quickstart/index.mdx index 1255ad7d8b6..bbe06d8f848 100644 --- a/src/pages/[platform]/start/quickstart/index.mdx +++ b/src/pages/[platform]/start/quickstart/index.mdx @@ -1479,7 +1479,14 @@ dependencies: ``` -After adding the dependencies, update the `_configureAmplify` method in your `main.dart` file to use the Amplify API: +After adding the dependencies, import the dependency and the model provider at the top of main.dart. + +``` +import 'package:amplify_api/amplify_api.dart'; +import 'models/ModelProvider.dart'; +``` + +And then update the `_configureAmplify` method in your `main.dart` file to use the Amplify API: ```dart title="main.dart" Future _configureAmplify() async {