> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neoagent.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating an API Secret

> Install the RESTful API Manager extension in ScreenConnect and set its authentication secret

Neo Agent connects to ScreenConnect through the **RESTful API Manager** extension. Install it once, set an authentication secret, and copy that secret into Neo Agent.

<Info>
  You need an administrator account on your ScreenConnect instance to install extensions and edit their settings.
</Info>

## Installing the RESTful API Manager

<Steps>
  <Step title="Open Extensions">
    In your ScreenConnect instance, open **Administration** (the gear icon in the lower-left), then select **Extensions**. Click **Browse Extension Marketplace**.

    <Frame caption="Administration → Extensions → Browse Extension Marketplace">
      <img src="https://mintcdn.com/neoagent/jrpZ6byTTBtXWlP4/images/screenconnect/sc-browse-extensions.png?fit=max&auto=format&n=jrpZ6byTTBtXWlP4&q=85&s=08d0d6055ca633e1cecf8511f90503ce" alt="ScreenConnect Administration page with the Extensions section selected and the Browse Extension Marketplace button highlighted" width="3402" height="1738" data-path="images/screenconnect/sc-browse-extensions.png" />
    </Frame>
  </Step>

  <Step title="Find and install RESTful API Manager">
    In the marketplace, search for **RESTful API Manager** and install it.

    <Frame caption="Searching the Extension Marketplace for RESTful API Manager">
      <img src="https://mintcdn.com/neoagent/jrpZ6byTTBtXWlP4/images/screenconnect/sc-add-api-extension.png?fit=max&auto=format&n=jrpZ6byTTBtXWlP4&q=85&s=0a03c8f461de2cbc1f902909129e2fe9" alt="ScreenConnect Extension Marketplace showing the RESTful API Manager extension matching a search for Restful" width="3398" height="1712" data-path="images/screenconnect/sc-add-api-extension.png" />
    </Frame>
  </Step>

  <Step title="Open the extension's settings">
    Back on the **Extensions** page, find the installed **RESTful API Manager**, open its **...** menu, and choose **Edit Settings**.

    <Frame caption="Edit Settings on the installed RESTful API Manager extension">
      <img src="https://mintcdn.com/neoagent/jrpZ6byTTBtXWlP4/images/screenconnect/sc-api-extension.png?fit=max&auto=format&n=jrpZ6byTTBtXWlP4&q=85&s=9b7607706397ce0d7bdc4830aebf4133" alt="Installed RESTful API Manager extension with its context menu open showing Disable, Uninstall, and Edit Settings" width="3404" height="1720" data-path="images/screenconnect/sc-api-extension.png" />
    </Frame>
  </Step>

  <Step title="Set the authentication secret">
    Set **RESTfulAuthenticationSecret** to **Custom** and enter a randomly generated long string (a GUID works well). This is the value you enter in Neo Agent as the **Client Secret**. Click **Save Settings**.

    <Frame caption="Setting a custom RESTfulAuthenticationSecret">
      <img src="https://mintcdn.com/neoagent/jrpZ6byTTBtXWlP4/images/screenconnect/sc-settings.png?fit=max&auto=format&n=jrpZ6byTTBtXWlP4&q=85&s=092ecdd8cd8fa921980020de76fc1401" alt="Edit Extension Settings dialog with RESTfulAuthenticationSecret set to a custom value" width="2016" height="1368" data-path="images/screenconnect/sc-settings.png" />
    </Frame>

    <Warning>
      Treat the authentication secret like a password — anyone with it and your instance URL can call your ScreenConnect API. Generate a fresh one here if it is ever exposed.
    </Warning>
  </Step>
</Steps>

## About the Other Settings

The Edit Settings dialog also exposes two optional fields:

* **RESTfulUserName** — the name shown next to events that API calls create. Leave it at the default (`RESTful API`) or set your own.
* **RESTfulAllowedOrigin** — if set, every request's `Origin` must match this value. Neo sends your instance URL as the `Origin`, so you can either **leave this empty** (Origin validation off) or set it to your instance host (e.g. `yourcompany.screenconnect.com`). Both work with Neo.

## What You'll Need for Neo Agent

| Value                     | Where to find it                                                             |
| ------------------------- | ---------------------------------------------------------------------------- |
| **Instance URL**          | The address you use to sign in, e.g. `https://yourcompany.screenconnect.com` |
| **Authentication secret** | RESTful API Manager → Edit Settings → RESTfulAuthenticationSecret            |

<Check>
  With your instance URL and the authentication secret in hand, continue to [Connecting to Neo Agent](/integrations/rmm/screenconnect/connecting-to-neo).
</Check>
