palantir-install-auth

Featured

Install and configure Palantir Foundry SDK authentication with OAuth2 or token auth. Use when setting up a new Foundry integration, configuring API credentials, or initializing the foundry-platform-sdk in your project. Trigger with phrases like "install palantir", "setup palantir", "palantir auth", "configure palantir API key", "foundry SDK setup".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Palantir Install & Auth ## Overview Set up the Palantir Foundry Platform SDK (Python or TypeScript) and configure authentication using either bearer tokens for development or OAuth2 client credentials for production. Covers both the Platform SDK for direct API access and the OSDK for Ontology-based workflows. ## Prerequisites - Python 3.9+ or Node.js 18+ - A Palantir Foundry enrollment with API access enabled - A third-party application registered in Developer Console (for OAuth2) - Your Foundry hostname (e.g., `mycompany.palantirfoundry.com`) ## Instructions ### Step 1: Install the SDK **Python (Platform SDK):** ```bash set -euo pipefail pip install foundry-platform-sdk python -c "import foundry; print(f'foundry-platform-sdk {foundry.__version__} installed')" ``` **Python (OSDK for Ontology access):** ```bash set -euo pipefail pip install palantir-sdk python -c "import palantir; print('palantir-sdk installed')" ``` **TypeScript (OSDK):** ```bash set -euo pipefail npm install @osdk/client @osdk/oauth npx tsc --version ``` ### Step 2: Configure Environment Variables ```bash # .env — never commit this file FOUNDRY_HOSTNAME=mycompany.palantirfoundry.com # Option A: Bearer token (development only) FOUNDRY_TOKEN=eyJhbGciOiJS... # Option B: OAuth2 client credentials (production) FOUNDRY_CLIENT_ID=abc123 FOUNDRY_CLIENT_SECRET=secret456 ``` ### Step 3: Initialize with Bearer Token (Development) ```python import os import foundry client = foundry.FoundryClient( auth=...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category