openevidence-install-auth

Install and configure OpenEvidence SDK/API authentication. Use when setting up a new OpenEvidence integration. Trigger: "install openevidence", "setup openevidence", "openevidence auth".

claude-code
6 Tools
openevidence-pack Plugin
saas packs Category

Allowed Tools

ReadWriteEditBash(npm:*)Bash(pip:*)Grep

Provided by Plugin

openevidence-pack

Claude Code skill pack for OpenEvidence medical AI (24 skills)

saas packs v1.0.0
View Plugin

Installation

This skill is included in the openevidence-pack plugin:

/plugin install openevidence-pack@claude-code-plugins-plus

Click to copy

Instructions

OpenEvidence Install & Auth

Overview

Set up OpenEvidence Medical AI API for clinical decision support and evidence-based queries.

Prerequisites

  • OpenEvidence account and API access
  • API key/credentials from OpenEvidence dashboard
  • Node.js 18+ or Python 3.8+

Instructions

Step 1: Install SDK


npm install @openevidence/sdk
# API key from OpenEvidence developer portal

Step 2: Configure Authentication


export OPENEVIDENCE_API_KEY="your-api-key-here"
echo 'OPENEVIDENCE_API_KEY=your-api-key' >> .env

Step 3: Verify Connection (TypeScript)


import { OpenEvidenceClient } from '@openevidence/sdk';
const client = new OpenEvidenceClient({
  apiKey: process.env.OPENEVIDENCE_API_KEY,
  organization: process.env.OPENEVIDENCE_ORG_ID
});
const result = await client.query({ question: 'What are first-line treatments for Type 2 diabetes?' });
console.log(`Answer: ${result.answer.substring(0, 100)}...`);
console.log(`Citations: ${result.citations.length} references`);

Step 4: Verify Connection (Python)


import openevidence
client = openevidence.Client(api_key=os.environ['OPENEVIDENCE_API_KEY'])
result = client.query(question='What are first-line treatments for Type 2 diabetes?')
print(f'Answer: {result.answer[:100]}...')
print(f'Citations: {len(result.citations)} references')

Error Handling

Error Code Solution
Invalid API key 401 Verify credentials in dashboard
Permission denied 403 Check API scopes/permissions
Rate limited 429 Implement backoff

Resources

Next Steps

After auth, proceed to openevidence-hello-world.

Ready to use openevidence-pack?