---
title: "Deployment"
description: "Deployment"
url: "https://www.contentstack.com/docs/developers/sdks/marketplace-sdk/javascript/reference/deployment"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-20"
---

# Deployment

## Deployment

The Deployment method retrieves and manages the deployment related processes.

## fetch

The fetch method retrieves all the details of a deployment of an app.

```
Example:
import * as contentstack from '@contentstack/marketplace-sdk'
const client = contentstack.client({ authtoken: 'TOKEN'});
client.marketplace('organization_uid').app('manifest_uid').hosting().deployment('deployment_uid').fetch()
.then((data) => {});
```

UID of a deployment

## logs

The logs method retrieves the logs of a deployment.

```
Example:
import * as contentstack from '@contentstack/marketplace-sdk'
const client = contentstack.client({ authtoken: 'TOKEN'});
client.marketplace('organization_uid').app('manifest_uid').hosting().deployment('deployment_uid').logs()
.then((data) => {});
```

UID of a deployment

## create

The create method deploys the uploaded file in hosting.

```
Example:
import * as contentstack from '@contentstack/marketplace-sdk'
const client = contentstack.client({ authtoken: 'TOKEN'});
client.marketplace('organization_uid').app('manifest_uid').hosting().deployment().create()
.then((data) => {});
```

## findAll

The findAll deployments method retrieves all the available deployments made for an app.

```
Example:
import * as contentstack from '@contentstack/marketplace-sdk'
const client = contentstack.client({ authtoken: 'TOKEN'});
client.marketplace('organization_uid').app('manifest_uid').hosting().deployment().findAll()
.then((data) => {});
```

## Deployment | JavaScript Marketplace SDK | Contentstack

Deployment retrieves and manages app deployment processes through the Contentstack JavaScript Marketplace SDK.