[Yandex Cloud documentation](../../index.md) > [Yandex Object Storage](../index.md) > [Tools](index.md) > File browsers > Obsidian

# Remotely Save

[Remotely Save](https://github.com/remotely-save/remotely-save) is an [Obsidian](https://obsidian.md/) plugin that syncs your note vault with cloud storage solutions compatible with the Amazon S3 API, including Object Storage.

## Getting started {#before-you-begin}

1. [Create a bucket](../operations/buckets/create.md).
1. [Create](../../iam/operations/sa/create.md) a service account.
1. [Assign](../../iam/operations/sa/assign-role-for-sa.md) the required role to the service account, e.g., `storage.editor`. To learn more about roles, see [Managing access with Yandex Identity and Access Management](../security/index.md).

       
   To work with objects in an [encrypted](../concepts/encryption.md) bucket, a user or [service account](../../iam/concepts/users/service-accounts.md) must have the following [roles for the encryption key](../../kms/operations/key-access.md) in addition to the `storage.configurer` [role](../security/index.md#storage-configurer):
   
   * `kms.keys.encrypter`: To read the key, [encrypt](../../kms/security/index.md#kms-keys-encrypter) and upload objects.
   * `kms.keys.decrypter`: To read the key, [decrypt](../../kms/security/index.md#kms-keys-decrypter) and download objects.
   * `kms.keys.encrypterDecrypter`: This role includes the `kms.keys.encrypter` and `kms.keys.decrypter` [permissions](../../kms/security/index.md#kms-keys-encrypterDecrypter).
   
   For more information, see [Key Management Service service roles](../../kms/security/index.md#service-roles).


   {% note tip %}

   You can assign a role for a folder or a bucket to a service account. A role for a folder gives the GUI client access to all the buckets in the folder. A role for a bucket gives the client access only to this particular bucket. For granular access, assign a role for a particular bucket.

   {% endnote %}

1. [Create a static access key](../../iam/operations/authentication/manage-access-keys.md#create-access-key).

        
    As a result, you will get the static access key data. To authenticate in Object Storage, you will need the following:
    
    * `key_id`: Static access key ID
    * `secret`: Secret key
    
    Save `key_id` and `secret`: you will not be able to get the key value again.

{% note info %}

A service account is only allowed to view a list of buckets in the folder it was created in.

A service account can perform actions with objects in buckets that are created in folders different from the service account folder. To enable this, [assign](../../iam/operations/sa/assign-role-for-sa.md) the service account [roles](../security/index.md#service-roles) for the appropriate folder or its bucket.

{% endnote %}

## Installation {#installation}

1. In Obsidian, open **Settings** → **Community plugins**.
1. Disable **Restricted mode** if enabled.
1. Click **Browse** and enter `Remotely Save` in the search bar.
1. Select the **Remotely Save** plugin and click **Install**.
1. To enable the plugin once it is installed, click **Enable**.

## Configuration {#configuration}

1. In Obsidian, open **Settings** → **Remotely Save**.
1. In the **Choose a remote service** field, select **S3 or compatible**.
1. Configure the connection as follows:
    * **Endpoint**: `https://storage.yandexcloud.net`.
    * **Region**: `ru-central1`.
    * **Access key ID**: Static key ID [you got previously](#before-you-begin).
    * **Secret Access Key**: Static key contents [you got previously](#before-you-begin).
    * **Bucket Name**: Name of the bucket [you created earlier](#before-you-begin).
1. Click **Check** to test the connection.
1. Close the settings window. The data will be saved automatically.
1. Restart Obsidian.

## Syncing {#sync}

To start synchronization, click the plugin icon in the Obsidian side panel or run the `Remotely Save: start sync` command via the command palette (`Ctrl+P`/`Cmd+P`).

Once synchronized, files from Obsidian will appear in the bucket as objects with keys in `folder/subfolder/note.md` format.

For more information about the plugin, refer to [Remotely Save guides](https://github.com/remotely-save/remotely-save).