> 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/test.md).

# Test an integration

Membership integrations have no test — a sign-in provider is checked by signing in.

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

{% hint style="warning" %}
Cloud has no **Test** for membership integrations, and the API has no test endpoint for them either: the **Actions** menu offers only **Disable**, the documentation links and **Delete**, and the page has no test panel or **TESTED** badge. A sign-in provider can only be checked by signing in with it, and no sign-in endpoint uses these integrations yet (see [Integrations](/codemash/cloud/membership/integrations.md)).
{% endhint %}

## Before you start

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

## Steps

1. Open the integration and press **Actions**. There is no **Test** item.

   <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 Test.</p></figcaption></figure>
2. Check the values you saved against the provider's console instead: the client id and, for Microsoft and Okta, the tenant id or domain. Read them back with the API (secrets are never returned).

## Result

Nothing is sent to the provider. A wrong client id or secret shows only when a user signs in.

## Change or remove it later

* **Change the values** — open the provider page, for example [Google Sign In](/codemash/cloud/membership/integrations/providers/google-sign-in.md), and save again.
* **Disable or delete** — [Disable or delete an integration](/codemash/cloud/membership/integrations/disable.md).

## Do it from code

```ts
const { item } = await norbix.hub.membership.getMembershipIntegration({ id: 'int_LzdgB21WazdHlEY4cUfkq' });
console.log(item.provider, item.clientId, item.isEnabled); // Google 1234567890-example.apps.googleusercontent.com true
```

```sh
norbix hub membership integration get int_LzdgB21WazdHlEY4cUfkq
```

API: [Get Membership Integration](/codemash/api-reference/membership/integrations/get-membership-integration.md)
