# Django

Django is one of the most popular web frameworks. We're building a Django app for easier integration

{% hint style="info" %}
This library is currently not available to public. We will release it on our GitHub soon.
{% endhint %}

### Installation

Install `django-phenixio` package with pip

```bash
pip install django-phenixio
```

Enable django-phenixio in your Django project

```python
INSTALLED_APPS = [
    ...
    
    'django-phenixio',
    
    ...
]
```

Run Django migrate commang in your project's root directory

```bash
~/app$ python manage.py migrate
```

### Configuration

```python
PHENIXIO_USER = "your@email.com"
PHENIXIO_PASSWORD = "secret-password"
```

{% hint style="info" %}
Make sure your account credentials are not hard-coded in your application. Load them as environment variables to keep them secure.
{% endhint %}

### Admin Panel

Now you will see Phenixio app in your Django admin dashboard.


---

# 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://docs.phenixio.com/integrations/django.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.
