---
title: Koito
description: Koito (Source)
toc_min_heading_level: 2
toc_max_heading_level: 5
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import CodeBlock from '@theme/CodeBlock';
import KoitoConfig from '!!raw-loader!@site/../config/koito.json.example';

This Source monitors a Koito account's scrobble history and then re-scrobbles discovered tracks to configured [Clients.](/configuration/clients)

:::tip[Other Uses]

To  _scrobble to_ a Koito server, create a [Koito (Client)](/configuration/clients/koito)

:::

See the [Koito (Client)](/configuration/clients/koito) configuration for general setup. The only difference for **Source** configuration:

* [File/AIO config](/configuration?configType=file#configuration-types) must include `"configureAs": "source"`

#### Configuration

<Config config="KoitoSourceConfig" fileContent={KoitoConfig} name="koito">
        | Environmental Variable | Required? | Default | Description                       |
        | :--------------------- | --------- | ------- | --------------------------------- |
        | `SOURCE_KOITO_ID`      | Yes       |         | A unique ID                       |
        | `SOURCE_KOITO_TOKEN`   | Yes       |         | API Key from your Koito Account   |
        | `SOURCE_KOITO_USER`    | Yes       |         | Your Koito username               |
        | `SOURCE_KOITO_URL`     | No        |         | The base URL for the Koito server |
        | `SOURCE_KOITO_NAME`    | No        |         | A vanity name differen than ID    |
</Config>