# Link Test Suites https://api-docs.lumar.io/docs/protect/global-templates/global-templates-link-test-suites The following mutation links a test suite to a global template: ```graphql mutation LinkToGlobalTemplate($parentTestSuiteId: ObjectID!, $childTestSuiteId: ObjectID!){ linkChildTestSuiteToParentTestSuite(input: { parentTestSuiteId: $parentTestSuiteId childTestSuiteId: $childTestSuiteId }) { parentTestSuite { id } childTestSuite { id } } } ``` :::caution In case you link two test suites together and none of them are linked, the `parentTestSuiteId` will become a Global Template. :::