Yes, if you have the partition set up already but it hasn’t been set up as swap yet you should follow those instructions to set it up.
It’s pretty quick and simple, just make sure you know what partition it is (run lsblk or similar to help identify it).
sudo mkswap /dev/sdxy
Substitute sdxy for your swap partition.
Enable the swap device:
sudo swapon /dev/sdxy
If you have a GPT disk, that’s all you need to do. If you are on a legacy setup, you should add an entry to fstab as well.