# Inngest client
Source: https://www.inngest.com/docs/reference/python/client/overview

The Inngest client is used to configure your application and send events outside of Inngest functions.

```py
import inngest

inngest_client = inngest.Inngest(
    app_id="flask_example",
)
```

---

## Configuration

<Properties>
  <Property name="api_base_url" type="str">
    Override the default base URL for our REST API (`https://api.inngest.com/`). See also the [`INNGEST_EVENT_API_BASE_URL`](/docs/reference/python/overview/env-vars#inngest-event-api-base-url) environment variable.
  </Property>
  <Property name="app_id" type="str" required>
    A unique identifier for your application. We recommend a hyphenated slug.
  </Property>
  <Property name="env" type="str">
    The environment name. Required only when using [Branch Environments](/docs/platform/environments).
  </Property>
  <Property name="event_api_base_url" type="str">
    Override the default base URL for sending events (`https://inn.gs/`). See also the [`INNGEST_EVENT_API_BASE_URL`](/docs/reference/python/overview/env-vars#inngest-event-api-base-url) environment variable.
  </Property>
  <Property name="event_key" type="str">
    An Inngest event key. Alternatively, set the [`INNGEST_EVENT_KEY`](/docs/reference/python/overview/env-vars#inngest-event-key) environment variable.
  </Property>
  <Property name="is_production" type="bool">
    Whether the SDK should run in [production mode](/docs/reference/python/overview/prod-mode). See also the [`INNGEST_DEV`](/docs/reference/python/overview/env-vars#inngest-dev) environment variable.
  </Property>
  <Property name="logger" type="logging.Logger | logging.LoggerAdapter">
    A logger object derived from `logging.Logger` or `logging.LoggerAdapter`. Defaults to using `logging.getLogger(__name__)` if not provided.
  </Property>
  <Property name="middleware" type="list" version="experimental">
    A list of middleware to add to the client. Read more in our [middleware docs](/docs/reference/python/middleware/overview).
  </Property>
  <Property name="signing_key" type="str">
    The Inngest signing key. Alternatively, set the [`INNGEST_SIGNING_KEY`](/docs/reference/python/overview/env-vars#inngest-signing-key) environment variable.
  </Property>
</Properties>