Question about connecting channel bank to asterisk

hi guys.im a noob, i want some help.im sooo confused,

i want to connect analogue phones to asterisk, so i should have a channel bank, then i should connect the channel bank to asterisk using a E1.so if i have 2 E1 ports on the computer, can i connect the 2nd E1 port to my telephone provider company and make calls with analogue phones that are connected to channel banks to to normal landline phones?
I REALLY NEED YOUR HELP,
thanks for your helping.