> For the complete documentation index, see [llms.txt](https://legacy-docs.usesmileid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacy-docs.usesmileid.com/integration-options/mobile/android/tags-usage/sidtagmanager.md).

# SIDTagManager

{% hint style="info" %}
From version 6.3.0 the library enables unique job configuration for multiple jobs which are sent at once using submitAll() and these may have different user id information and or job configuration
{% endhint %}

#### This is optional for when you are calling submit() method from `SIDNetworkRequest` class but if you are using submitAll() then this is required .

**Below is a general example of how this could be used, however you may use the tag manager class for every job configuration**

#### Step 1 *User Id Information Example (can be used)*

Instantiate the tag manager object from the singleton

```
SIDTagManager sidTagManager = SIDTagManager.getInstance(this);
```

**Step 2**

Setup the metadata for the job

```
//Instantiate the metadata
SIDMetadata metadata = new SIDMetadata();

//Set user id information
SIDUserIdInfo userIdInfo = metadata.getSidUserIdInfo();
userIdInfo.setCountry("Country");
userIdInfo.setIdNumber("ID Number");
userIdInfo.setIdType("ID Type");

//set the metadata on the SIDConfig
SIDConfig.Builder builder = new SIDConfig.Builder(this)
                ....
                .setSIDMetadata(metadata)
                ...

SIDConfig config = builder.build($UNIQUE_TAG);
```

#### Step 3

Before submitting the job save the configuration for the job by calling

```
/**
     *
     * @param tag (required) the tag for the SIDConfig
     * @param jobType (required)  the job type as per smile id job types
     * @param mode (required) either enrol or authentication
     * @param geoInfos (optional) geolocation information for the job
     * @param sidMetadata (required) can have only partner params and
               or userid information
     * @param useIdCard (required) true or false depending on whether the job is usig an id card image or not
     */
sidTagManager.saveConfig();
```

Once the above method has been called you may call the methods fro `SIDNetworkRequest` class and the library will associate the correct job to the correct configuration

```
mSINetworkrequest.submit(sidConfig);
or
mSINetworkrequest.submitAll(sidConfig);
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://legacy-docs.usesmileid.com/integration-options/mobile/android/tags-usage/sidtagmanager.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
