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

# Nomic

Obiguard provides a robust and secure gateway to facilitate the integration of various Large Language Models (LLMs) into your applications, including [Nomic](https://docs.nomic.ai/reference/getting-started/).

Nomic has especially become popular due to it's superior embeddings and is now available through Obiguard's AI gateway as well.

With Obiguard, you can take advantage of features like fast AI gateway access, observability, prompt management, and more, all while ensuring the secure management of your LLM API keys through a [virtual key](/virtual-keys) system.

<Note>
  Provider Slug. `nomic`
</Note>

## Obiguard SDK Integration with Nomic

Obiguard provides a consistent API to interact with embedding models from various providers. To integrate Nomic with Obiguard:

### 1. Create a Virtual Key for Nomic in your Obiguard account

You can head over to the virtual keys tab and create one for Nomic. This will be then used to make API requests to Nomic without needing the protected API key.

### 2. Install the Obiguard SDK and Initialize with this Virtual Key

Add the Obiguard SDK to your application to interact with Nomic's API through Obiguard's gateway.

<Tabs>
  <Tab title="Python SDK">
    ```python theme={null}
    from obiguard import Obiguard

    client = Obiguard(
      obiguard_api_key="vk-obg***",  # Your Obiguard virtual key
      virtual_key="VIRTUAL_KEY" # Replace with your virtual key for Nomic
    )
    ```
  </Tab>
</Tabs>

### 3. Invoke the Embeddings API with Nomic

Use the Obiguard instance to send requests to your Nomic API. You can also override the virtual key directly in the API call if needed.

<Tabs>
  <Tab title="Python SDK">
    ```python theme={null}
    embeddings = client.embeddings.create(
      input='create vector representation on this sentence',
      model='nomic-embed-text-v1.5'
    )

    print(embeddings)
    ```
  </Tab>
</Tabs>

## Next Steps

The complete list of features supported in the SDK are available on the link below.

<Card title="Obiguard SDK Client" icon="code" href="/api-reference/sdk/python">
  Learn more about the Obiguard SDK Client
</Card>
