Integration with existing voip

Hy, i’m beginner and i have a question!

Can someone explain to me how to implement new VoIP (asterisk) system on existing voip System. For example, in my building i have a voip provider and i want implement in my office my voip system and my own dial plan. Which card i must use so that i can connect that two voip system.

Best regards!