The instructions in the sections below outline the end-to-end process to set up a Public Application in Developer Console and Control Panel.
Public Applications expose ontology data and actions to anyone on the public internet. Each application requires an Information Security Officer in your enrollment to review and approve the intended use case before enablement. Discuss your intended use case, exposed ontology resources, and intended audience with your Information Security Officer before completing the steps below to create a Public Application in Developer Console.
Before you set up your Public Application, ensure that:

Public Applications use a service user for permissions when reading or writing data. Foundry creates the service user when you create the application in Developer Console, after which you can grant permissions for Foundry resources to the service user.

<your-subdomain>.<your-enrollment>.palantirfoundry.com. Optionally, select Request to host on a custom domain to host the application on a domain of your choosing, such as custom-domain.com.


An Information Security Officer in your enrollment must approve your subdomain registration request in Control Panel's Approvals inbox.
If you are an Information Security Officer, follow the instructions below to review and approve the request:

After the Information Security Officer approves your request in Control Panel, return to the Website hosting tab in Developer Console and refresh the page. After a few minutes, the domain status will transition from Provisioning to Domain ready. Developer Console also displays a status tag indicating if the application enables unauthenticated API calls.

Review the Developer Console documentation to learn more about building frontend-only applications using the OSDK.
If you enable unauthenticated API calls for your Public Application, you can next select the Ontology SDK tab in Developer Console to add all required object types and action types as application Resources. Foundry enforces strict export controls on Public Applications, so you can only add a resource if you have permission to declassify all of its Markings and Organization Markings. Foundry restricts Public Applications to a small set of ontology operations, so you should review the list of currently supported operations before populating your application's resources to confirm your intended workflow is supported.
Once you add all relevant ontology resources to your application, Developer Console prompts you to review each change before saving. Once saved, all resources in your application's scope will be accessible without authentication.

With your Public Application's Ontology SDK resources added, you will next create a code repository linked to your application by following the steps below:
Your linked code repository houses your Public Application's code. Review the existing how-to guides in the Developer Console documentation to learn how to add your OSDK to the application and bootstrap its development in various languages, such as TypeScript, Python, or Java.
Open your Public Application's subdomain URL in an incognito or private browser window, and the application will load without showing a Foundry login prompt.