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,266 stars 315 forks Updated today 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
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

palantir-security-basics

Apply Palantir Foundry security best practices for credentials, scopes, and access control. Use when securing API tokens, implementing least privilege access, or auditing Foundry security configuration. Trigger with phrases like "palantir security", "foundry secrets", "secure palantir", "palantir API key security", "foundry scopes".

2,266 Updated today
jeremylongshore
AI & Automation Featured

palantir-common-errors

Diagnose and fix Palantir Foundry common errors and API exceptions. Use when encountering Foundry errors, debugging failed API calls, or troubleshooting transform build failures. Trigger with phrases like "palantir error", "fix palantir", "foundry not working", "debug foundry", "palantir 401 403".

2,266 Updated today
jeremylongshore
AI & Automation Featured

palantir-hello-world

Create a minimal working Palantir Foundry example querying Ontology objects. Use when starting a new Foundry integration, testing your setup, or learning basic Foundry API and Ontology patterns. Trigger with phrases like "palantir hello world", "palantir example", "palantir quick start", "foundry first query".

2,266 Updated today
jeremylongshore
AI & Automation Featured

palantir-deploy-integration

Deploy Palantir Foundry integrations to cloud platforms with secrets management. Use when deploying Foundry-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy palantir", "foundry deploy", "palantir production deploy", "foundry Cloud Run".

2,266 Updated today
jeremylongshore
AI & Automation Featured

palantir-sdk-patterns

Apply production-ready Palantir Foundry SDK patterns for Python and TypeScript. Use when implementing Foundry integrations, refactoring SDK usage, or establishing team coding standards for Foundry API calls. Trigger with phrases like "palantir SDK patterns", "foundry best practices", "palantir code patterns", "idiomatic foundry SDK".

2,266 Updated today
jeremylongshore