How to connect 2 devices on I2C?

I2C is a bus - the whole point of a bus is that it can take multiple things.

On the I2C bus, they just connect in parallel:

The important thing is that each device must have a distinct address:

The so-called pullup resistors are an important part of I2C: