# Getting around the app

> Find your way around the CNPJá app: the rail apps, header, organization selector, sidebar, mobile layout, the help button, locked areas and error pages.

Every screen of the CNPJá app has the same frame: the rail of apps on the left, the header at the top and, in some apps, a sidebar with that app's pages. On a phone, the rail becomes a tab bar along the bottom of the screen. The frame starts on the **Dashboard**, the first screen after you log in.

## Apps on the rail

The rail, on the left, leads to each app. The app you are in stays lit.

| App | What it is for | Guide |
| --- | --- | --- |
| **Dashboard** | A greeting with the plan and quota, shortcuts, today's openings and what you viewed last | [Dashboard](https://cnpja.com/en-us/docs/app/dashboard) |
| **CNPJ** | Search companies with filters, open records, lists, views and bulk lookup | [Search CNPJs](https://cnpja.com/en-us/docs/search/companies) |
| **Partners** | Search partners and open each person's record | [Search partners](https://cnpja.com/en-us/docs/partners/search) |
| **Network** | Explore the ties between companies and partners | [Network](https://cnpja.com/en-us/docs/partners/network) |
| **CEP** | Search CEPs and see the companies at each address | [Search CEPs](https://cnpja.com/en-us/docs/postal-codes/search) |
| **API** | The API documentation, from the first request to the reference | [API documentation](https://cnpja.com/en-us/docs/api) |

The foot of the rail holds what applies to the whole app:

- **Help** opens the help center ([Help on every page](#page-help)).
- **Feedback** opens a dialog to report a problem or send a suggestion about the screen you are on ([Send feedback](https://cnpja.com/en-us/docs/support/feedback)).
- **Settings** shows once you are logged in. For the Owner and Administrator roles, it opens the organization's **General** page; for Developer and Bookkeeper, its **Usage** page; for everyone else, **Account settings**.

## Header

From left to right, the header holds:

| Element | What it does |
| --- | --- |
| Logo | Takes you to the CNPJá website |
| Organization selector | Members only. Shows the organization in use, with its logo, name and plan, and its bottom edge fills up with the quota closest to running out. Click it to switch organizations, open the **Usage** and **Requests** of the organization in use, depending on your role, or create another one under **New organization**, which requires Pro ([Switch organizations](https://cnpja.com/en-us/docs/organizations/manage#switch), [Track usage](https://cnpja.com/en-us/docs/billing/usage)) |
| **Subscribe to Pro** | Shows for the Owner and Administrator of an organization on Free, and for the Bookkeeper when it already has billing details, and leads to checkout ([Subscribe to Pro](https://cnpja.com/en-us/docs/billing/subscribe)) |
| Search | The **Search CNPJ, partners, CEP or docs** field, which also opens with `Ctrl+K` ([Global search](https://cnpja.com/en-us/docs/app/global-search)) |
| **Coruja** | Opens Coruja, the CNPJá AI assistant, in a panel on the right, also with `Ctrl+J` (`⌘J` on a Mac). She answers questions, shows you where to click and runs lookups, exports and changes on your behalf ([Coruja](https://cnpja.com/en-us/docs/app/coruja)) |
| Language and theme | The flag changes the language and the sun or moon changes the theme ([Preferences](https://cnpja.com/en-us/docs/app/preferences)) |
| Account menu | Your avatar opens the menu with your name and e-mail, **Account settings**, **Help center**, **Terms and policies** and **Log out**. Without an account, **Log in** and **Create account** take its place |

Whatever a member uses comes out of the quota of the organization in the selector, so check the organization before exporting or running a bulk lookup.

## Each app's sidebar

The **CNPJ**, **Partners** and **CEP** apps, the documentation and **Settings** have a sidebar. The **Dashboard** and the **Network** have none and use the full width.

- *At the top*, the app's pages: in **CNPJ**, **Search CNPJ** and **Bulk lookup**; in **Partners**, **Search partners**; in **CEP**, **Search postal codes**.
- *In CNPJ*, for members, the **Views** and **Lists** groups show the organization's items opened last, with **View all** for the full list.
- **Recent** lists the records you opened in this browser. **Clear recent** erases the list ([Data stored in your browser](https://cnpja.com/en-us/docs/privacy/browser-data)).
- *In Settings*, the **Organization** and **Your account** groups show only the pages your role can open ([Permissions by role](https://cnpja.com/en-us/docs/organizations/members-and-roles#matrix)).
- *Without an account*, the foot of the sidebar shows the **Keep what you find** card, with **Create account** and **Log in**. Both bring you back to the same page.

To collapse the sidebar:

1. Click the round handle on the edge of the sidebar (**Toggle sidebar**) or press `Ctrl+B` (`⌘B` on a Mac).
2. Hover over an icon to see the page name.
3. Repeat step 1 to open the sidebar again.

The choice applies to every app and is kept in this browser ([Collapsed sidebar](https://cnpja.com/en-us/docs/app/preferences#collapsed-sidebar)). With Coruja open beside the page in a window with no room to spare, the sidebar folds on its own and comes back as you left it when she closes ([Open Coruja](https://cnpja.com/en-us/docs/app/coruja#open)).

## On a phone

- The tab bar, at the bottom of the screen, holds the six apps and **Menu**.
- **Menu** opens the sidebar of the app you are in, with **Help center**, **Guide to this page** (when the screen has a guide), **Feedback** and, once you are logged in, **Settings** at the end. On the **Dashboard** and the **Network**, which have no sidebar, it opens a sheet with just those items.
- Without an account, **Menu** also holds the **Keep what you find** card.
- In the header, the search becomes a magnifier icon, **Coruja** shrinks to the owl icon and the logo shrinks to the symbol. On narrow screens, **Subscribe to Pro** shows only the rocket icon.
- The help drawer takes up the whole screen.
- Coruja fills the screen between the header and the tab bar, with a close button of its own, and closes when you follow a link ([Open Coruja](https://cnpja.com/en-us/docs/app/coruja#open)).

## Help on every page

Screens with a guide show the question mark button (**Help with this page**) at the end of the page header. To read the guide without leaving the screen:

1. Click the question mark button. The guide opens in a drawer on the right.
2. Follow the drawer's links: the ones leading to other guides open in the drawer itself, and **Back to the previous guide** goes back one guide.
3. Click **Open full page** to read the guide in the help center.
4. Close it with `Esc`, the close button or the browser's Back button.

With `Ctrl` (`⌘` on a Mac) or the middle mouse button, the guide opens in a new tab. The **Learn more** links and the tips across the app open the drawer too.

The **Help** button, at the foot of the rail, opens the help center, whose sidebar footer gathers the keyboard shortcuts, the contact channels and the terms and policies ([Using these docs](https://cnpja.com/en-us/docs/support/using-the-docs)).

## Locks and hatched areas

The app marks what is locked and what has no data with the same drawing:

| Sign | What it means |
| --- | --- |
| Button over a hatch, with a lock | The feature needs an account or membership in an organization. Click it to see what unlocks the feature and the ways there, such as **Log in** and **Create account** ([How to recognize a locked feature](https://cnpja.com/en-us/docs/app/access-levels#locked)) |
| **Account only** or **Members only** | Locked dashboard shortcuts: the first asks for an account, the second for membership in an organization |
| A sentence on a chip over a hatch | A section that was read and found nothing, such as "No partners registered at the Receita Federal." on a record without partners |
| A lock in place of a list's checkboxes | **Export in progress**: CNPJs can't be added or removed, nor the list deleted, until the export finishes ([List locked during an export](https://cnpja.com/en-us/docs/lists/create#locked)) |

## Error pages

Errors show inside the app frame, so the header, the rail and the search stay at hand. The error code is shown large in the middle of the screen.

| Screen | When it shows | What to do |
| --- | --- | --- |
| **This page isn't in the app** | The address doesn't exist in the app: it changed, it was mistyped or what it showed no longer exists | Search from the field on the page itself, or use **Back to the dashboard** or **Go to the website** |
| **Something went wrong** | The page didn't open because of a momentary failure | Click **Try again** and, if the failure persists, **Back to the dashboard** |

Both screens end with links to the **Help center** and to [Troubleshooting](https://cnpja.com/en-us/docs/support/troubleshooting). If the failure keeps happening, [contact us](https://cnpja.com/en-us/docs/support/contact).

Records have screens of their own when they are not found: [CNPJ](https://cnpja.com/en-us/docs/companies/lookup#not-found), [partner](https://cnpja.com/en-us/docs/partners/record#not-found) and [CEP](https://cnpja.com/en-us/docs/postal-codes/record#not-found). When the organization's quota runs out, the record gives way to an explanation of the quota and the possible ways out ([Quota used up](https://cnpja.com/en-us/docs/billing/quota-exhausted)).
