A first principle is one that cannot be deduced from any other. The classic example is that of Euclid's (see Euclid's Elements) geometry; its hundreds of propositions can be deduced from a set of definitions, postulates, and common notions: all three of which constitute "first principles."
and in English translation:
This principle is the first expression of consistency in western thought. Any defining and reasoning in any language on any topic assumes it a priori. It cannot be doubted, as all doubting is based on inconsistency, which assumes consistency a priori.
Profoundly influenced by Euclid, Descartes, the "father of modern philosophy", was a rationalist who invented the foundationalist system of philosophy. He used the "method of doubt", now called Cartesian doubt, to systematically doubt everything he could possibly doubt, until he was left with what he saw as purely indubitable truths. Using these self-evident propositions as his "axioms", or "foundations", he went on to deduce his entire body of knowledge from them. (The foundations are also called a priori truths.) His most famous proposition is "I think, therefore I am", or "Cogito ergo sum".
"A Treatise On God As First Principle" is about the First Cause, or the Prime Mover, that is eternal, and exists, prior to the order of beings, and prior to creation.
In physics, a calculation is said to be from first principles, or ab initio, if it starts directly at the level of established laws of physics and does not make assumptions such as model and fitting parameters.
For example, calculation of electronic structure using Schrödinger's equation within a set of approximations that do not include fitting the model to experimental data is an ab initio approach.