> For the complete documentation index, see [llms.txt](https://docs.oceanenterprise.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oceanenterprise.io/user-guides/using-the-oe-marketplace/publishing-an-asset.md).

# Publishing an asset

This chapter describes the process of publishing an asset in Ocean Enterprise.

## Introduction

Publishing an asset involves recording its description on-chain and generating the associated smart contracts. Once this information is stored, the asset description is indexed and cached within the OE node’s indexer database, enabling users to easily discover, access, and utilize the asset.

<mark style="color:$info;background-color:$info;">**Note**</mark><mark style="color:$info;background-color:$info;">: In OE, an asset can have multiple services associated, as outlined</mark> <mark style="color:red;background-color:$info;">here</mark><mark style="color:$info;background-color:$info;">. During the publishing process, the asset’s initial service is automatically created. To add additional services, simply edit the asset after publication.</mark>

### What happens when an asset is published

When an asset is published, the following actions occur:

1. The asset smart contracts (data NFT, data token)  are created on-chain. The price is saved in the Fixed Rate Exchange contract.
2. The location of the service files of the asset  is encrypted
3. Asset's DDO is created in the form of a Verifiable Credential, in JWT format, encrypted, and saved in IPFS
4. The state of the asset and of the first service of the asset are set to "Active", meaning they are consumable
5. The Content ID of the file is saved on-chain

## Precondition

The user has logged in to the marketplace.

## Steps

1\. Press the Publish button from the main page.  The Asset Publishing flow has started.

<figure><img src="https://1789397093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH0zpgrXbeZ7u6UuCV9Gz%2Fuploads%2F9y0tmSZUQlNLp3I7z0XI%2Fimage.png?alt=media&amp;token=7aa1e69d-fc6a-4fa9-b2d4-6aa5253d088e" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.oceanenterprise.io/user-guides/using-the-oe-marketplace/publishing-an-asset.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
