# Add plugin
## Create project
Run the following command to create a new project.
```sh
flutter create [project name]
```
## Add files
Add the asreader_sdk4 folder to your project.
```{image} ../_static/media/add_lib.png
:width: 500px
:alt: flutter create example
```
## Edit pubspec.yaml
```yaml
asreader_sdk4:
path: asreader_sdk4
```
Modify pubspec.yaml as shown.
```{image} ../_static/media/edit_pubspec.png
:width: 500px
:alt: edit pubspec.yml
```
## Install the package
Run the following command to install the package.
```sh
flutter pub get
```
```{image} ../_static/media/pub_get.png
:width: 500px
:alt: flutter pub get
```
## Update Cocoapods
Run the following command to update Cocoapods.
```sh
pod install
```
```{image} ../_static/media/pod_install.png
:width: 700px
:alt: flutter create example
```
## Using plugins
You need to import the header file into the project that uses the plugin.
```dart
import 'package:asreader_sdk4/asreader_sdk4.dart';
```