> ## Documentation Index
> Fetch the complete documentation index at: https://tbd-6fc993ce-mason-add-copy-page-to-context-menu.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Datacenter Proxies

Datacenter proxies use IP addresses assigned from datacenter servers to route your traffic and access locations around the world. With a shorter journey and simplified architecture, datacenter proxies are both the fastest and most cost-effective proxy option.

## Configuration

Datacenter proxies require a country to route traffic through:

<CodeGroup>
  ```typescript Typescript/Javascript theme={null}
  import { Kernel } from '@onkernel/sdk';
  const kernel = new Kernel();

  const proxy = await kernel.proxies.create({
    type: 'datacenter',
    name: 'my-us-datacenter',
    config: {
      country: 'US'
    }
  });

  const browser = await kernel.browsers.create({
    proxy_id: proxy.id
  });
  ```

  ```Python Python theme={null}
  import kernel
  client = kernel.Kernel()

  proxy = client.proxies.create(
      type='datacenter',
      name='my-us-datacenter',
      config={
          'country': 'US'
      }
  )

  browser = client.browsers.create(
      proxy_id=proxy.id
  )
  ```
</CodeGroup>

## Configuration Parameters

* **`country`** (required) - ISO 3166 country code (e.g., `US`, `GB`, `FR`) or `EU` for European Union exit nodes
