Running a DEF tank dry is not a good thing to do, as mentioned above. I get my first dash message that the tank is getting low at about 900 miles remaining in the tank, then the next message at a bout 500 miles and then one at about 250 miles of DEF remaining. I have never let it get below the last figure. On vacation I carry an extra 2 1/2 gallon jug of the stuff. It is available at most auto stores, the big box stores, and at most dealers (they tend to be the most expensive) Two of the most popular brands I see are put out by Peak and Fleetguard ( a Cummins owned company) and all I have used works fine.
I really like the DEF to cut back on air pollution, as our previous truck was a 2002 Dodge Cummins and it put out a diesel exhaust stink comparable to an old Jimmy 2 stroke diesel. Stop at a stop light in the old Dodge and sometimes the stink of the burned diesel would drift into the cab or into the AC system and it was not pleasant. With the DEF, the inside of my truck exhaust pipe, after 20,000 miles is still as clean looking as it was the day I brought the new truck home. You can stand behind the truck with the engine running and there is zero diesel exhaust smell. To me a cheap price to pay for what the DEF provides.