# Setup

Understanding Setup For `stream_chat_flutter_core`

### Add pub.dev dependency

First, you need to add the `stream_chat_flutter_core` dependency to your pubspec.yaml

You can either run this command:

```shell
flutter pub add stream_chat_flutter_core
```

OR

Add this line in the dependencies section of your pubspec.yaml after substituting latest version:

```yaml
dependencies:
  stream_chat_flutter_core: ^latest_version
```

You can find the package details on [pub.dev](https://pub.dev/packages/stream_chat_flutter_core).


---

This page was last updated at 2026-03-10T10:50:18.959Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/flutter/v7/stream_chat_flutter_core/setup/](https://getstream.io/chat/docs/sdk/flutter/v7/stream_chat_flutter_core/setup/).