# Cobrowse - Flutter SDK

Run this command:

With Flutter:

```shell
 $ flutter pub add cobrowse_sdk_flutter
```

This will add a line like this to your package's pubspec.yaml (and run an implicit `flutter pub get`), If it is not added automatically, you can add the following package to your `pubspec.yaml`:

```dart
...
dependencies:
  ...
  cobrowse_sdk_flutter: ^1.0.0
...
```

Alternatively, your editor might support `flutter pub get`. Check the docs for your editor to learn more.

Add the following lines to your code which will register this device so you can connect to it. You could choose to do this on app startup, or when your users visits a support page in your application, or any other time.

```dart
import 'package:cobrowse_sdk_flutter/cobrowseio.dart';

CobrowseIO.instance.setLicense('put your license key here');
CobrowseIO.instance.start();
```

### Requirements <a href="#requirements" id="requirements"></a>

* iOS 12.0 or later
* Android API version 24 (7.0 Nougat) or later


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.saleassist.ai/integration-guide/mobile-sdk-integration/cobrowse-flutter-sdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
