> ## Documentation Index
> Fetch the complete documentation index at: https://docs.newapi.si/llms.txt
> Use this file to discover all available pages before exploring further.

# Sdk nodejs

***

title: "SDK 範例（Node.js）"
description: "OpenAI Node SDK"
------------------------------

```javascript theme={null}
import OpenAI from "openai";
const client = new OpenAI({ apiKey: process.env.API_KEY, baseURL: "https://api.newapi.si" });
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.