---
title: "Integrating with Zuplo"
description: "How to configure Phantom Token introspection using the Zuplo API Gateway and the Curity Identity Server"
url: "https://curity.io/resources/learn/integration-zuplo/"
date: "2024-01-10"
area: "tutorials"
topic: "howtos"
pagegroup: "phantom-token-integration"
---

# Integrating with Zuplo

## Overview

The [Zuplo API Gateway](https://zuplo.com/) is highly configurable and extendable. A policy that allows for the Phantom Token to be configured is provided by Zuplo out-of-the-box.

This article describes the [Introspection and Phantom Tokens](https://curity.io/resources/learn/introspect-with-phantom-token/) process in more detail.

## Prerequisites

-   An installation of the Curity Identity Server
-   An introspection endpoint configured with the [Token Procedure Approach](https://curity.io/resources/learn/introspect-with-phantom-token/#token-procedure-approach)

If you do not have an installation of the Curity Identity Server, follow this tutorial [installation of the Curity Identity Server](https://curity.io/resources/learn/run-curity-docker/) and configure the installation by running Curity Basic Setup Wizard as outlined in this tutorial [Curity Basic Setup Wizard](https://curity.io/resources/learn/first-config/).

## Configure Zuplo

The [Zuplo documentation](https://zuplo.com/docs/policies/curity-phantom-token-inbound) details how to configure the Zuplo API Gateway with the Curity Phantom Token Auth.

| Environment Variable | Description | Example | Required for integration |
| --- | --- | --- | --- |
| `INTROSPECTION_URL` | The URL used by Zuplo to introspect the opaque access token. | `https://idsvr.example.com/oauth/v2/oauth-introspect` | Yes |
| `CLIENT_ID` | ID of the client used for introspection. | `gateway-client` | Yes |
| `CLIENT_SECRET` | Secret of the client used for introspection. | `Pa$$word1!` | Yes |

## Resources

-   Zuplo documentation for [Curity Phantom Token Auth policy](https://zuplo.com/docs/policies/curity-phantom-token-inbound)
-   Information on the [Introspection and Phantom Tokens](https://curity.io/resources/learn/introspect-with-phantom-token/) flow
-   Installing the [Curity Identity Server](https://curity.io/resources/learn/run-curity-docker/)
-   Details on the [Curity Basic Setup Wizard](https://curity.io/resources/learn/first-config/)
