# Developer Platform

<h2 align="center"><img src="/files/cHBdoJMvzIwraCeHh6Ll" alt="" data-size="original">  <mark style="color:$primary;"> <code>PromptVault</code></mark> </h2>

<p align="center"></p>

<h3 align="center"> <i class="fa-book-bookmark" style="color:$primary;">:book-bookmark:</i>  Documentation</h3>

<p align="center">Write, review, and ship LLM prompts the way teams ship code.</p>

<figure><img src="/files/tS9MapY2oQ4hRpYw0c51" alt=""><figcaption></figcaption></figure>

{% columns %}
{% column %}

### How it fits together

{% stepper %}
{% step %}

### &#x20;<i class="fa-grid-4" style="color:$primary;">:grid-4:</i>  Dashboard

Write <mark style="color:$primary;">prompts</mark> & manage <mark style="color:$primary;">versions</mark>.
{% endstep %}

{% step %}

### &#x20;<i class="fa-code" style="color:$primary;">:code:</i>  SDK

Fetches & caches <mark style="color:$primary;">prompts</mark>, interpolates <mark style="color:$primary;">variables</mark>.
{% endstep %}

{% step %}

### &#x20;<i class="fa-window-restore" style="color:$primary;">:window-restore:</i>  Your app

Calls <mark style="color:$primary;">SDK</mark> & adds the <mark style="color:$primary;">prompt</mark> to your LLM calls.
{% endstep %}
{% endstepper %}

<a href="https://promptv.dev/" class="button primary" data-icon="rocket-launch">Get started</a>&#x20;
{% endcolumn %}

{% column %}
{% code title="index.js" overflow="wrap" %}

```javascript
// Import the SDK
import { promptvault } from "@promptv/sdk";

// Initialize the client
const pv = promptvault({ key: process.env.PROMPTV_KEY });

// Use the prompt by slug, pass variables
const prompt = await pv.get("support-triage", {
  variables: {
    user_metadata: myapp.user.meta
  }
});

```

{% endcode %}
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}

<figure><img src="https://images.unsplash.com/photo-1488415032361-b7e238421f1b?crop=entropy&#x26;cs=srgb&#x26;fm=jpg&#x26;ixid=M3wxOTcwMjR8MHwxfHNlYXJjaHw4fHxncmVlbnxlbnwwfHx8fDE3Nzc0Njg4NDR8MA&#x26;ixlib=rb-4.1.0&#x26;q=85" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

### Learn more about <mark style="color:$primary;">PromptVault</mark>

Read guides, watch tutorials, and learn more about working with the developer platform and integrating it with your own stack.

<a href="/spaces/DCSnOXucqtXRToJ1s348/pages/LThc2RqOxBKU56Qt3TMy" class="button primary" data-icon="book">Documentation</a>&#x20;
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://aiso.gitbook.io/promptvault/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
