To use Inertia you need both a server-side adapter as well as a client-side adapter. Be sure to follow the installation instructions for the frameworks you use.
The first step when using Inertia is to configure your server-side framework. This primarily includes setting up a root template and updating your endpoints to return Inertia responses. See the server-side setup page for more details.