Using Free Tier and Ontology SDK Limitations

Hi,

Is it not possible to use Ontology SDK and AIP as a backend as a service? It doesn’t seem very easy to integrate into our prod app that has users if there’s a forced login to Palantir foundry screen in a third party app. I’d like to leverage ontology to drive some gen ai but this seems to be a limitations (potentially of the free tier)

AIP Free Tier does not allow an authentication method other than “Authorization Code”, as there is a user limit on the tier. If you have multiple users using AIP, they all need to be added to your free tier enrollment. The enterprise offering allows “Client Credential” grant which generates a service user that can be used to call the OSDK on behalf of another service.

If you want to test OSDK from a server in the free tier, you can generate a personal token in the Settings panel, but this is not recommended for production use cases as the tokens are short lived.

How short-lived? I’m guessing I’d have to manually refresh it?