> For the complete documentation index, see [llms.txt](https://flagship.gitbook.io/flagship/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flagship.gitbook.io/flagship/master.md). Agents can also search and read this documentation through its [MCP server](https://flagship.gitbook.io/flagship/~gitbook/mcp).

# Getting Started

Get Flagship up and running with any application, website, or connected device.

## Welcome to Flagship!

The following steps will help you get Flagship up and running with any application, website, or connected device.

## Flagship step by step

### 1- Set up the SDK/Decision API

Whether you're implementing Flagship directly via the Decision API or using one our available SDKs, you'll need to have your `environmentId` handy to get set up.

To find your `environmentId`:

1. Log into your account
2. Click on the **Quickstart & Integration** menu in the sidebar
3. Click the **Integration** tab

{% embed url="<https://www.loom.com/share/fa263df443e04492b2027f6cd897b18d>" %}

### 2- Set up your flags

Whether you want to run an A/B test, personalize, toggle, or roll out a feature, you can do it all with Flagship!

Once you know what part of your app/website you want to flag, there are three types of flags to choose from:

* Boolean
* String
* Integer

Each type allows a different level of flexibility over its configuration in Flagship — so choose wisely, sailor!

### 3- Create your first campaign on the platform

Whether you want to progressively deploy a new feature, add an on-off switch to a feature, run an experiment, or personalize your product experience, you’ll need to make sure it's configured inside the platform.

If you're inviting team members to your account, keep in mind that users can have different roles in each environment (Preprod or Prod), so make sure you add your teammates to the corrent group in each account environment.

{% hint style="info" %}

### **Additional ressources**

* For more information on how to create campaigns, follow the link [here](https:\\/\\/flagship.zendesk.com\\/hc\\/en-us\\/articles\\/360009891580-Flagship-A-B-Tests).
* To learn more about access rights and user management, follow the link [here](https:\\/\\/flagship.zendesk.com\\/hc\\/en-us\\/articles\\/360009983619-Flagship-Access-rights-and-User-management).
  {% endhint %}

## Flagship Integration

Depending on your needs, you can integrate Flagship using one of our SDKs or directly via Decision API. Each method has its own documentation:

* Decision API
* Android SDK
* iOS SDK
* JavaScript SDK

$plugin\[{ "type": "callout", "data": { "text": "Regardless of the method you choose, make sure you always set up a default value for your flags in the following cases:\n\n- No internet connection\n- User hasn\u2019t yet been assigned to a variation\n- Panic mode is activated", "type": "warning", "title": "Important" } }]$

{% hint style="danger" %}

### Important

Regardless of the method you choose, make sure you always set up a default value for your flags in the following cases:

* No internet connection
* User hasn't yet been assigned to a variation
* Panic mode is activated
  {% endhint %}

## What's next?

You’re almost ready to go!

Next step is creating your first campaign, setting up your flags, choosing your targeting keys, and pushing everything to prod.

The best part? You can manage your flags in Flagship without performing a new merge request or having to push your application to the store again!

Are you as excited by this new adventure as we are? Let us know how it goes!
