sure there are a lot of details but its simple:
The Adafruit_INA228.h has some examples as does the CSV_Parser.h library
The ina228 board has three solder jumpers on the back (none connected at default)
I bridge the top jumper so that the V+ is...
I have two ina228 boards (Adafruit) connected to i2c port 0 on a teensy 3.6 (4.1 would work as well).
I have written a datalogger for them. I can get by with 100ms acquistion time so I just build up buffers larger than 512
and write them out...