# Setup Upload Route

In order to see how your app works, you need to set up the upload route.

Open up your `src/index.js` where the routes exist.

## Import Upload component

Import the recently created Upload component.

```
...
import Upload from './components/Upload';
...
```

## Set up the Upload route

Add the `/upload` route.

```
<Route path="/upload" component={Upload} />
```

Your routes should look like the code below.

```
...
...
const Root = () => {
  return (
    <div className="container">
      <Router history={browserHistory}>
        <Route path="/" component={Display}/>
        <Route path="/upload" component={Upload} />
      </Router>
    </div>
  )
}
```

## Run your app

Your app should live-reload. In your browser, enter the upload route, `http://localhost:3000/upload`.

Your app should look like this now.

![App with upload route](http://res.cloudinary.com/unicodeveloper/image/upload/v1519852542/upload.png)


---

# 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://cloudinary.gitbook.io/build-a-mini-netflix/build-a-mini-netflix-with-cloudinary/set-up-upload-route.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.
