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

# Licensing

export const LwTemplate = ({title = "Key questions to get you started", icon = "sparkles", cta = "Powered by Agent Studio", linkHref = "https://lucidworks.com/demo/?utm_source=docs&utm_medium=referral&utm_campaign=docs_cta_ai"}) => {
  const [isLoaded, setIsLoaded] = useState(false);
  useEffect(() => {
    const timer = setTimeout(() => {
      setIsLoaded(true);
    }, 500);
    return () => clearTimeout(timer);
  }, []);
  return <div className="lw-template-container">
      <Card title={title} icon={icon}>
        {isLoaded && <span dangerouslySetInnerHTML={{
    __html: `<lw-template id="a029c1a9-28be-427e-b0e1-5d918920246a"></lw-template
            >`
  }} />}
        <Link href={linkHref} className="agent-studio-link text-left text-gray-600 gap-2 dark:text-gray-400 text-sm font-medium flex flex-row items-center hover:text-primary dark:hover:text-primary-light group-hover:text-primary group-hover:dark:text-primary-light">Powered by Lucidworks Agent Studio</Link>
      </Card>
    </div>;
};

[localhost link]: http://localhost:3000/docs/4/fusion-server/concepts/licensing

[mintlify link]: https://doc.lucidworks.com/docs/4/fusion-server/concepts/licensing

[old doc.lw link]: https://doc.lucidworks.com/fusion-server/4.2/114

Fusion Server requires a valid license. Depending on the details of your contract, your license may also enable optional [connectors](/docs/fusion-connectors/connectors/overview) or [Fusion AI](/docs/4/fusion-ai/overview).

Fusion Server provides a license management UI and a license API for installing and managing licenses. When you upload a license, Fusion Server stores it in ZooKeeper, so you only need to upload it to one node per cluster.

The Fusion UI notifies you when your trial license is about to expire. When your license has expired, Fusion Server accepts no configuration changes until you upload a valid license.

Visit our company page to [try Fusion](https://lucidworks.com/try).

<LwTemplate />

## Learn more

<AccordionGroup>
  <Accordion title="Install a Fusion License">
    1. Log in to the Fusion UI.
    2. In the upper right, open the profile menu and select **License Details**:
           <img src="https://mintcdn.com/lucidworks/l9y7VqRhZkN9hmR0/assets/images/4.0/license-details.png?fit=max&auto=format&n=l9y7VqRhZkN9hmR0&q=85&s=58f5ed3541de2e01c51d4c1a17077475" alt="License Details" width="631" height="526" data-path="assets/images/4.0/license-details.png" />
       The License Details window appears:
           <img src="https://mintcdn.com/lucidworks/l9y7VqRhZkN9hmR0/assets/images/4.0/license-details-modal.png?fit=max&auto=format&n=l9y7VqRhZkN9hmR0&q=85&s=3456f4dad08aaaa72f882546d6b605d3" alt="License Details" width="2560" height="1188" data-path="assets/images/4.0/license-details-modal.png" />
    3. Click **Choose License** and select your license file.
    4. Click **Upload**.
  </Accordion>

  <Accordion title="Create the Initial Admin Password with the API">
    After creating a new instance of Fusion, you will need to create a password for the admin user. This is typically done in the Fusion UI. In some cases, such as during the development stage when the Admin UI microservice is not running, you may want to create this password using the API.

    Use the following example commands to create the initial admin password with the API, in this case, `password123`:

    ```json wrap theme={"dark"}
    curl -X POST -H 'content-type: application/json' 'http://localhost:6764/api' --data-binary '{"password": "password123"}'
    ```

    ```json wrap theme={"dark"}
    curl -X POST -H 'content-type: application/json' 'http://localhost:8764/api' --data-binary '{"password": "password123"}'
    ```
  </Accordion>
</AccordionGroup>
