> For the complete documentation index, see [llms.txt](https://codemash.gitbook.io/codemash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codemash.gitbook.io/codemash/cloud/membership/integrations/set-default.md).

# Set an integration as default

Membership integrations have no default in Cloud; the API has a call that saves one.

**Where:** Membership → Integrations → click an integration → **Actions** · `/projects/<project>/membership/integrations/edit/<integrationId>`

{% hint style="warning" %}
Cloud has no **Set as default** for membership integrations: the **Actions** menu has no such item and the list shows no **DEFAULT** badge. The API has the call (below); it answers success, but nothing in Cloud or in the integrations list shows the result. Use the SDK, the CLI or the API below.
{% endhint %}

## Before you start

* A saved, enabled integration — see [Providers](/codemash/cloud/membership/integrations/providers.md).

## Steps

1. Open the integration and press **Actions**: there is no **Set as default**.

   <figure><img src="https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-821698163aafeb851ce34258f6d1872c7ce60ddf%2Fintegrations-disable-1.png?alt=media" alt="Editing Microsoft integration with the Actions menu: Disable, See Microsoft documentation, See SDK documentation, See API documentation, Delete"><figcaption><p>The <strong>Actions</strong> menu — no Set as default.</p></figcaption></figure>
2. Copy the integration id under the badge (for example `int_LzdgB21WazdHlEY4cUfkq`) and use the call below.

## Result

The call answers `isSuccess: true`. The integrations list does not change — it has no default column.

## Change or remove it later

* **Disable or delete** — [Disable or delete an integration](/codemash/cloud/membership/integrations/disable.md).

## Do it from code

```ts
await norbix.hub.membership.setMembershipIntegrationAsDefault({ id }); // id: int_…
```

```sh
norbix hub membership integration as default set int_LzdgB21WazdHlEY4cUfkq
```

API: [Set Membership Integration As Default](/codemash/api-reference/membership/integrations/set-membership-integration-as-default.md)
