# Install and setup

Installing is pretty easy:

```
pip install django-decorated-routes
```

Once you install is open your `settings.py` file and register the app:

```
INSTALLED_APPS = [
    # ...
    'decorated_router',
]
```

Next, you'll need to open up you `urls.py` file and add the next things:

1. Import the auto register function. That function will look for classes that uses the decorator and then do some magic (which already been discussed in the previous section):

   ```
   from decorated_router.api.api import auto_register
   ```
2. Next, at the bottom of the file add use the command we imported:

   ```
   auto_register(urlpatterns)
   ```

That's it! Let's register some routes�
