How to import bank statement into Sage 50 and how do we categorize all the transactions ?

I am having difficulty importing bank statements and how to categorize them and assign account reference as per chart of accounts to each of the transactions. If you can help me with that, I would highly appreciate it, thank you...