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

# DeepSeek Provider

> The DeepSeek Provider enables integration of DeepSeek's language models into Keep.

<Tip>
  The DeepSeek Provider supports querying DeepSeek language models for prompt-based
  interactions.
</Tip>

## Authentication

This provider requires authentication.

* **api\_key**: DeepSeek API Key (required: True, sensitive: True)

## In workflows

This provider can be used in workflows.

As "step" to query data, example:

```yaml theme={null}
steps:
    - name: Query deepseek
      provider: deepseek
      config: "{{ provider.my_provider_name }}"
      with:
        prompt: {value}  # The user query.
        model: {value}  # The model to use for the query.
        max_tokens: {value}  # The maximum number of tokens to generate.
        system_prompt: {value}  # The system prompt to use.
        structured_output_format: {value}  # The structured output format.
```

Check the following workflow example:

* [enrich\_using\_structured\_output\_from\_deepseek.yaml](https://github.com/keephq/keep/blob/main/examples/workflows/enrich_using_structured_output_from_deepseek.yaml)

## Connecting with the Provider

To connect to DeepSeek, you'll need to obtain an API Key:

1. Sign up for an account at [DeepSeek](https://platform.deepseek.com)
2. Navigate to your account settings
3. Generate an API key for Keep

Use the generated API key in the `authentication` section of your DeepSeek Provider configuration.
