How do I integrate RubyMine with GitLab?

Hi.

How do I integrate RubyMine with GitLab or UpSource with GitLab?

Thanks,

Lyndon