# Validate the setup

Once you have your repositories set up and linked for development, you are ready to make changes in the API. Lets make a tiny change to ensure that it is working properly.

In a browser, navigate to the top level route of the API (<http://elentra-1x-me.localhost/api/v2>). If you have Elentra ME installed with a different virtual host, adjust the URL to match. This should give a response something like this:

![Testing the default API route](/files/-LMo4Pcu7aeh5Ubr40zq)

{% hint style="info" %}
If you do not see the link above, make sure that there were no errors in the composer setup under Set up Repositories. Also check that you can run the Elentra ME application without errors.
{% endhint %}

Now lets make a change to the message that is produced by the default route. Open PHPStorm, navigate to the `elentra-1x-api` directory and open the directory `routes/api`. Edit the file `api.php` and you will see the message that was produced on the browser.

![The default route of the API](/files/-LMoCxW5_1qjVZX-TiL_)

Change the message in some way. For example add 'Hello, World.' to the beginning of the message. Then go back to the browser and refresh the default route. You should see the changed message.

![Updated default API route](/files/-LMoDCrGzuPTvueZY1_k)

{% hint style="info" %}
If you do not see the updated message, make sure PHPStorm is open on the right repository and that the repository that is checked out is the same as `composer-api-dev.json`
{% endhint %}

Reset the changes to `routes/api/api.php`.

You have now validated that your API and ME repositories are linked and ready for development.


---

# 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.elentra.org/api/developers/quickstart-guide/validate-the-setup.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.
