Get your taxes done using TurboTax

Based upon your fact pattern, you can file as HOH for 2017 and claim the children.

Your BF will have to file as Single (unless he is still legally married to someone else).