# Logging in to the Marketplace

To publish or consume assets, a user must first log in to the marketplace. Logging in requires establishing a connection to the marketplace server using both the MetaMask web3 wallet and the SSI wallet.

## &#x20;Precondition

The user has gone through the onboarding process, at the end of which they have the following:

* The Metamask web3 wallet is configured with a valid web3 address.
* The SSI wallet account is set up and populated with DIDs and Verifiable Credentials.
* Optional: The user has enough native tokens in their wallet to pay the gas for blockchain transactions.
* Optional: The user has added funds to their web3 address for the token(s) used in the marketplace to purchase assets.&#x20;

## Steps

To log in to the marketplace, perform the following steps:

1\. On the main page, press the Connect Wallet button.

<figure><img src="/files/J4Me3eruZ28icYjnjZ9H" alt=""><figcaption></figcaption></figure>

2\. The Connect Wallet window is displayed. Click on MetaMask.

<figure><img src="/files/TaOwqy7jSQaRtCA6fpHa" alt=""><figcaption></figcaption></figure>

3\. The MetaMask login screen is displayed. Enter your password and press Enter.

<figure><img src="/files/qOKuUPaSCG2SINH7XW6x" alt=""><figcaption></figcaption></figure>

4\. The signature request window is displayed. Press confirm.

<figure><img src="/files/gru4Q73OgVkPGXUEtx0M" alt=""><figcaption></figcaption></figure>

5\. The first time the user connects to the marketplace, the SSI Wallet API screen is displayed and prefilled with the URL of the default SSI wallet, provided by the marketplace. Enter the URL to your SSI wallet and press the "Set SSI Wallet API & Connect SSI".&#x20;

<figure><img src="/files/Koc8PII7OlFXeZNdMgh1" alt=""><figcaption></figcaption></figure>

**Note:** the SSI Wallet URL is cached in the browser, so future logins to the marketplace won't require entering the SSI Wallet URL. If the user wants to update the SSI Wallet URL,  it can be done from Settings -> Update SSI Walet API, as shown below.

<figure><img src="/files/bC6VS7eM4srQqZGT2cSK" alt=""><figcaption></figcaption></figure>

6\. The signature request window is displayed. Press confirm.

<figure><img src="/files/cYdBxBwSsiW6lWR6UdtN" alt=""><figcaption></figcaption></figure>

7\. The user is now connected to the Marketplace with both the web3 and SSI wallet.

<figure><img src="/files/Dz2sI9JtMNvlxgt9wzrN" alt=""><figcaption></figcaption></figure>

8\. From the main menu of the marketplace, the user can do the following:&#x20;

* [Publish an asset](/user-guides/using-the-oe-marketplace/publishing-an-asset.md)
* access the assets catalogue, from where services can be [accessed](/user-guides/using-the-oe-marketplace/consuming-an-assets-service.md), and C2D jobs can be initiated
* access the user profile, where information related to the user's activity is logged


---

# Agent Instructions: 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:

```
GET https://docs.oceanenterprise.io/user-guides/using-the-oe-marketplace/logging-in-to-the-marketplace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
