Quickstart guide
================

This page is an attempt at providing first aid to new users, who must
first follow the :ref:`Install Guide <install>` to get a working poezio
install.

Reading the more detailed :ref:`Usage page <usage>` is recommended to get
a deeper understanding of poezio.

Anonymous usage
---------------

If you run poezio right after installing, you will get connected to the
default anonymous server, which allows you to join rooms, and talk to people.

Joining rooms
~~~~~~~~~~~~~

The :term:`/join command </join>` allows you to join a chatroom and start
talking to people right away. It opens a new :ref:`muctab`.


Talking to people
~~~~~~~~~~~~~~~~~

You can use the :term:`/message` command if you know the address of people
you want to talk to. This will open a :ref:`conversationtab`.

Normal usage
------------

In order to use an account, you have to edit the :ref:`config` first,
to set the account address and password (optionally). Sadly, poezio doesn’t
allow account creation yet, so if you don’t have an account you will have
to either use another client like gajim_ to create your account, or stay
in anonymous mode.

After obtaining an account and setting the :term:`jid` config option to
the right value, you should go through the configuration file to get
an overview of the different :ref:`configuration options <config>` available. If you
don’t set the value of the :term:`password` option, you will be prompted
to enter it on startup.

Joining rooms
~~~~~~~~~~~~~

Just as in the anonymous mode, the :term:`/join command </join>` allows you
to join a chatroom and start talking to people right away. It opens a new
:ref:`muctab`.


Talking to people
~~~~~~~~~~~~~~~~~

Just as in the anonymous mode, you can use the :term:`/message` command if
you know the address of people you want to talk to. This will open a
:ref:`conversationtab`.

Adding people
~~~~~~~~~~~~~

However, one of the benefits of having an account is to have contacts, see
when they are online and offline, see their activity, mood, etc. To this end,
you should add the people you know to your :ref:`contact list <rostertab>`.

The :ref:`rostertab` is the tab numbered ``0``, and the only one which is
always open. To add people, use :term:`/add`, to accept a contact request use
:term:`/accept`.


Exiting poezio
~~~~~~~~~~~~~~

Use the :term:`/exit` command to quit poezio.

.. _gajim: https://gajim.org
