> For the complete documentation index, see [llms.txt](https://docs.gta.clothing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gta.clothing/plugins/creator-link/sign-in-and-connect.md).

# Sign In and Connect

Sign a Creator Link plugin in with your gta.clothing account, approve it in Durty Cloth Tool, and manage connected apps

## Introduction

A Creator Link plugin needs one thing before it works: your **gta.clothing account**, the same one Durty Cloth Tool is signed in with. There is no code to type into Durty Cloth Tool and nothing to pair. Once the plugin is signed in, it finds Durty Cloth Tool on the same computer and connects by itself.

**Applies to:** [Photoshop](https://docs.gta.clothing/plugins/creator-link/photoshop.md), [Photopea](https://docs.gta.clothing/plugins/creator-link/photopea.md), [Blender](https://docs.gta.clothing/plugins/creator-link/blender.md), [Marvelous Designer](https://docs.gta.clothing/plugins/creator-link/marvelous.md), [GIMP](https://docs.gta.clothing/plugins/creator-link/gimp.md), [Krita](https://docs.gta.clothing/plugins/creator-link/krita.md) and [Substance 3D Painter](https://docs.gta.clothing/plugins/creator-link/substance.md). The steps are the same everywhere; only the button labels and where the setup appears differ, see [#labels-in-each-plugin](#labels-in-each-plugin "mention").

{% hint style="info" %}
In Photopea in Chrome and Edge, select **Connect** to open a small connection window, and keep it open while you work. Open it again each time you open the panel. See [Reaching Durty Cloth Tool from the browser](https://docs.gta.clothing/plugins/creator-link/photopea/paint-in-photopea.md#reaching-durty-cloth-tool-from-the-browser).
{% endhint %}

## Before you start

* Your Discord account is a member of the [Pleb Masters Community Discord](https://discord.plebmasters.de) server. gta.clothing confirms your account with Discord, and the plugin never sees your Discord password.
* Durty Cloth Tool is signed in (**Account & License > Sign in with Discord**, or press **Ctrl+K** and paste `>Account & License`), when you want to work on the ped. Creator Link is on by default: **Options > Connected apps** (or press **Ctrl+K** and paste `@Allow connected`) says **Ready for connected apps**.
* The computer is online. gta.clothing confirms your sign-in, and also confirms each new connection to Durty Cloth Tool.

## Sign in for the first time

1. Start Durty Cloth Tool, sign in and open a project. You can skip this when you only want the 3D view of the Photoshop and Photopea panels, GIMP or Krita, or the GTA body and the fit in Marvelous Designer.
2. Open the plugin in your editor and choose **Sign in** under **Sign in with gta.clothing**. While Durty Cloth Tool is running, the sign-in goes to Durty Cloth Tool, which asks you to approve it, see [#approve-the-sign-in-in-durty-cloth-tool](#approve-the-sign-in-in-durty-cloth-tool "mention").
3. The plugin connects to Durty Cloth Tool, and the status in its header changes to **Connected**.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-fdad3750482afc9d4aab0dd6040b03a236538ddc%2Fsign-in-approve.png?alt=media" alt="The setup steps of the Krita docker: Durty Cloth Tool found, then Sign in with gta.clothing waiting for approval in Durty Cloth Tool, with the browser code below."><figcaption><p>The setup steps in the Krita docker. Durty Cloth Tool shows the request; the code below is the browser alternative.</p></figcaption></figure>

You sign in once on each computer. The plugin keeps its sign-in, and later starts connect by themselves. The sign-in ends when you sign out, when you remove the plugin on the plugins page of your account, or after 30 days without use. After a longer while it also ends while you use it, and the plugin asks you to sign in again. Photopea is the exception: it stays signed in only until you close its tab.

### Approve the sign-in in Durty Cloth Tool

When a plugin asks to sign in while Durty Cloth Tool runs, Durty Cloth Tool opens **Sign in a connected app**, which asks **Sign in Photoshop with your account** (with the name of your app). It shows what to check:

* **App**: the app that asks, with its version;
* **Program**: the program on your computer that asked, when Windows reports it;
* **Device**: this computer's name, unless the plugin leaves it out (see [Privacy](https://docs.gta.clothing/plugins/creator-link/privacy.md));
* **Account**: the account the plugin would use;
* **Requested from**: where the request came from;
* **Code shown in the plugin**: the code the plugin shows at the same time.

Select **Approve** if the details match what you just did, or **Deny**.

<figure><img src="https://2130288373-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRsXe3tqSiAvM8iKYjngE%2Fuploads%2Fgit-blob-90ea1ffe9e65865fb5d175c0253b69f4bb25e1e7%2Fsign-in-approval.png?alt=media" alt="The Sign in GIMP with your account window in Durty Cloth Tool with the app, the program, the device, the account, where the request came from and the code, with Approve and Deny, next to the GIMP plugin showing the same code. The device and account are blurred."><figcaption><p>Durty Cloth Tool asks before a plugin may use your account. Check that the code matches the one in the plugin, then choose Approve.</p></figcaption></figure>

{% hint style="warning" %}
**Only approve if you just started this yourself.** In this window, **Deny** is the default answer (Enter and Esc deny), and **Approve** becomes available a moment after the window appears. If someone sent you a link or a code, or you did not just choose **Sign in** in a plugin, deny it. If you approved one by mistake, select **Wasn't you? Remove it** on the confirmation page, or remove the plugin on the plugins page of your account.
{% endhint %}

Durty Cloth Tool shows one such question at a time. If another one is open, the plugin waits and asks again; otherwise use the browser sign-in below.

### Sign in with your browser

When Durty Cloth Tool is not running, **Sign in** continues in your browser by itself. You can also choose the browser yourself (**Sign in with your browser** in Photoshop and Photopea, **Sign in in the browser** in GIMP, Krita, Substance 3D Painter and Marvelous Designer, **Sign In in the Browser** in Blender):

1. The plugin shows a code, for example **BDWP-HQPK**.
2. **Open sign-in page** opens gta.clothing, which asks **Approve the sign-in for Photoshop?** (with the name of your app). Sign in there with Discord if it asks.
3. Check that the page shows the same code, then select **Approve**.

Codes are valid for ten minutes. If the code expired, start the sign-in again.

## The status in the plugin

Each plugin shows its state in one word in its header. Select it for the connection details: the Durty Cloth Tool version, the account and the connection.

| Status            | Meaning                                                                                                                                                                                                              |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connected**     | Signed in and connected to Durty Cloth Tool. Ready.                                                                                                                                                                  |
| **Live**          | A live preview of your work shows on the ped.                                                                                                                                                                        |
| **Paused**        | A live preview is paused (Photoshop and Photopea).                                                                                                                                                                   |
| **Signed in**     | Signed in, and the Photoshop or Photopea panel works on its own without Durty Cloth Tool.                                                                                                                            |
| **Connecting**    | Looking for Durty Cloth Tool, or connecting to it.                                                                                                                                                                   |
| **Disconnecting** | You chose **Disconnect**; the connection is closing (GIMP, Krita, Substance 3D Painter and Marvelous Designer).                                                                                                      |
| **Action needed** | A setup step waits for you, for example the sign-in, or Durty Cloth Tool needs its own sign-in.                                                                                                                      |
| **Offline**       | In Photoshop and Photopea: gta.clothing cannot be reached; the panel stays signed in and tries again. In the other plugins: not connected to Durty Cloth Tool, for example after **Disconnect**. Select **Connect**. |
| **Problem**       | Something blocks the work, for example a version that must be updated. The plugin says what to do.                                                                                                                   |

Where the plugin needs Durty Cloth Tool, it also shows whether it found it on this computer (**Durty Cloth Tool found**). If you start Durty Cloth Tool later and the plugin has not found it yet, select **Connect** (in the Photoshop and Photopea panels, **Look again** or **Connect**).

## Labels in each plugin

|                                  | Photoshop                                                                                  | Photopea                                                                                   | GIMP, Krita, Substance 3D Painter, Marvelous Designer                                                                                                           | Blender                                                          |
| -------------------------------- | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| Where the setup shows            | The panel's **Set up Creator Link** view, then **Connect Durty Cloth Tool** (**Optional**) | The page signs in before the panel opens, then **Connect Durty Cloth Tool** (**Optional**) | Two steps in the panel: **Find Durty Cloth Tool**, then **Sign in with gta.clothing**                                                                           | The **Get Connected** panel in the **DCT** tab                   |
| Sign in through Durty Cloth Tool | **Sign in**, or **Approve in Durty Cloth Tool** once it was found                          | **Sign in** after a sign-out                                                               | **Sign in**                                                                                                                                                     | **Sign In**                                                      |
| Browser sign-in                  | **Sign in with your browser**, **Open sign-in page**                                       | **Sign in with your browser**, **Open sign-in page**, **Copy**                             | **Sign in in the browser**, **Open sign-in page**, **Copy code**                                                                                                | **Sign In in the Browser**, **Open Sign-in Page**, **Copy Code** |
| Connect automatically            | **Connect automatically**: when the panel opens                                            | **Connect automatically**: when the panel opens, after the first **Connect**               | **Connect automatically when ... starts** (GIMP: **when this window opens**; in Marvelous Designer it connects when you open the panel from the **Plugin** tab) | **Connect Automatically**: when Blender starts                   |

The Photoshop and Photopea panels work without Durty Cloth Tool once you are signed in: Durty Cloth Tool is the **Optional** part. In Photopea, the browser may ask whether the page may reach apps on this computer, see [Paint in Photopea](https://docs.gta.clothing/plugins/creator-link/photopea/paint-in-photopea.md#reaching-durty-cloth-tool-from-the-browser).

## The Connected apps page

**View > Connect an app** (or press **Ctrl+K** and paste `>Connect an app`) opens **Options > Connected apps (Creator Link)**:

* **Allow connected apps on this computer to talk to Durty Cloth Tool** turns Creator Link on or off. It is on by default. The status line below it says whether Durty Cloth Tool is **Ready for connected apps** or **Off**.
* **Connected now** lists the apps that are connected at this moment, with the plugin version and since when it is connected. **Disconnect** stops that app until you choose **Connect** in the app again. Blender also connects again when you start it with **Connect Automatically** on. While the app disconnects, the button reads **Disconnecting…**. If the app is still connected a few seconds later, the row says **The app is still connected. Try again, or close the Durty Cloth Tool plugin in the app.**
* **Plugins** installs, updates and reinstalls the plugins, see [Install and Update Plugins](https://docs.gta.clothing/plugins/creator-link/install-and-update.md).

## Disconnect and sign out

* **Disconnect** in the plugin's **...** menu ends the connection until you select **Connect**. In Blender, **Disconnect** is in the status popover of the **Durty Cloth Tool** panel. A running live preview stops.
* **Disconnect** for an app under **Connected now** in Durty Cloth Tool does the same from the other side. The plugin says **Disconnected in Durty Cloth Tool** and stays disconnected, also after a restart, until you select **Connect** in it. Blender is the exception: starting Blender again with **Connect Automatically** on connects it again.
* **Sign out** ends the plugin's gta.clothing sign-in. It stays signed out until you sign in again.

When you disconnect an app, sign Durty Cloth Tool out or switch account, the live previews of that app end and the cloth shows its saved texture again.

### When Durty Cloth Tool signs out or uses another account

* If Durty Cloth Tool itself is signed out, the plugin says so. Sign in to Durty Cloth Tool: the GIMP, Krita, Substance 3D Painter, Marvelous Designer and Blender plugins connect again by themselves a moment later (select **Connect** to try at once); in Photoshop and Photopea, select **Connect**.
* The plugin and Durty Cloth Tool must use the same account. If they do not, the plugin says so; sign out in the plugin and sign in with the account Durty Cloth Tool uses.

More messages are in [Troubleshooting](https://docs.gta.clothing/plugins/creator-link/troubleshooting.md#signed-out-or-another-account).
