St Johnstone will open their defence of the Challenge Cup with a visit to Ross County next season.
The SFL's new entrants face Clyde, while Partick Thistle host Glasgow rivals Queen's Park.
Dundee travel to Alloa Athletic, Peterhead entertain Montrose and Brechin City are at home to East Fife.
Scottish Cup runners-up Queen of the South make the trip to Berwick Rangers, Livingston host Stranraer and Dumbarton travel to Airdrie United.
Raith Rovers and Morton were the teams to receive byes as the opening round of the tournament is divided into North-East and South-West regions.
All matches are scheduled for Saturday 26 July.
Ross County v St. Johnstone
Alloa Athletic v Dundee
Arbroath v Forfar Athletic
Brechin City v East Fife
Dunfermline Athletic v Stirling Albion
Peterhead v Montrose
Elgin City v Cowdenbeath
Bye: Raith Rovers
East Stirlingshire v Ayr United
Clyde v Annan Athletic
Stenhousemuir v Albion Rovers
Partick Thistle v Queen's Park
Berwick Rangers v Queen of the South
Livingston v Stranraer
Airdrie United v Dumbarton
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.