How do you use TestRail for automation?

How do you use TestRail for automation?

Automated tests are started. Most TestRail-integrated teams trigger and execute their automated tests outside of TestRail (for example, as part of a continuous integration system), then submit the test results via TestRail’s API.